Debian Codegraph @

doc/devhelp/libxslt-attributes.html

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
5 <title>attributes: interface for the XSLT attribute handling</title>
6 <meta name="generator" content="Libxml2 devhelp stylesheet"/>
7 <link rel="start" href="index.html" title="libxslt Reference Manual"/>
8 <link rel="up" href="general.html" title="API"/>
9 <link rel="stylesheet" href="style.css" type="text/css"/>
10 <link rel="chapter" href="general.html" title="API"/>
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
14 <tr valign="middle">
15 <td>
16 <a accesskey="u" href="general.html">
17 <img src="up.png" width="24" height="24" border="0" alt="Up"/>
18 </a>
19 </td>
20 <td>
21 <a accesskey="h" href="index.html">
22 <img src="home.png" width="24" height="24" border="0" alt="Home"/>
23 </a>
24 </td>
25 <td>
26 <a accesskey="n" href="libxslt-documents.html">
27 <img src="right.png" width="24" height="24" border="0" alt="Next"/>
28 </a>
29 </td>
30 <th width="100%" align="center">libxslt Reference Manual</th>
31 </tr>
32 </table>
33 <h2>
34 <span class="refentrytitle">attributes</span>
35 </h2>
36 <p>attributes - interface for the XSLT attribute handling</p>
37 <p>this module handles the specificities of attribute and attribute groups processing. </p>
38 <p>Author(s): Daniel Veillard </p>
39 <div class="refsynopsisdiv">
40 <h2>Synopsis</h2>
41 <pre class="synopsis">void <a href="#xsltApplyAttributeSet">xsltApplyAttributeSet</a> (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br/> xmlNodePtr node, <br/> xmlNodePtr inst, <br/> const xmlChar * attrSets);
42 void <a href="#xsltFreeAttributeSetsHashes">xsltFreeAttributeSetsHashes</a> (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style);
43 void <a href="#xsltParseStylesheetAttributeSet">xsltParseStylesheetAttributeSet</a> (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br/> xmlNodePtr cur);
44 void <a href="#xsltResolveStylesheetAttributeSet">xsltResolveStylesheetAttributeSet</a> (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style);
45 </pre>
46 </div>
47 <div class="refsect1" lang="en">
48 <h2>Description</h2>
49 </div>
50 <div class="refsect1" lang="en">
51 <h2>Details</h2>
52 <div class="refsect2" lang="en">
53 <div class="refsect2" lang="en"><h3><a name="xsltApplyAttributeSet"/>xsltApplyAttributeSet ()</h3><pre class="programlisting">void xsltApplyAttributeSet (<a href="libxslt-xsltInternals.html#xsltTransformContextPtr">xsltTransformContextPtr</a> ctxt, <br/> xmlNodePtr node, <br/> xmlNodePtr inst, <br/> const xmlChar * attrSets)<br/>
54 </pre><p>Apply the xsl:use-attribute-sets. If @attrSets is NULL, then @inst will be used to exctract this value. If both, @attrSets and @inst, are NULL, then this will do nothing.</p>
55 <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node in the source tree.</td></tr><tr><td><span class="term"><i><tt>inst</tt></i>:</span></td><td>the attribute node "xsl:use-attribute-sets"</td></tr><tr><td><span class="term"><i><tt>attrSets</tt></i>:</span></td><td>the list of QNames of the attribute-sets to be applied</td></tr></tbody></table></div></div>
56 <hr/>
57 <div class="refsect2" lang="en"><h3><a name="xsltFreeAttributeSetsHashes"/>xsltFreeAttributeSetsHashes ()</h3><pre class="programlisting">void xsltFreeAttributeSetsHashes (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style)<br/>
58 </pre><p>Free up the memory used by attribute sets</p>
59 <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>an XSLT stylesheet</td></tr></tbody></table></div></div>
60 <hr/>
61 <div class="refsect2" lang="en"><h3><a name="xsltParseStylesheetAttributeSet"/>xsltParseStylesheetAttributeSet ()</h3><pre class="programlisting">void xsltParseStylesheetAttributeSet (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style, <br/> xmlNodePtr cur)<br/>
62 </pre><p>parse an XSLT stylesheet attribute-set element</p>
63 <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>the XSLT stylesheet</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the "attribute-set" element</td></tr></tbody></table></div></div>
64 <hr/>
65 <div class="refsect2" lang="en"><h3><a name="xsltResolveStylesheetAttributeSet"/>xsltResolveStylesheetAttributeSet ()</h3><pre class="programlisting">void xsltResolveStylesheetAttributeSet (<a href="libxslt-xsltInternals.html#xsltStylesheetPtr">xsltStylesheetPtr</a> style)<br/>
66 </pre><p>resolve the references between attribute sets.</p>
67 <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>style</tt></i>:</span></td><td>the XSLT stylesheet</td></tr></tbody></table></div></div>
68 <hr/>
69 </div>
70 </div>
71 </body>
72 </html>