1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FoXsltTransformer</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="xmlroff Reference Manual">
<link rel="up" href="other-objects.html" title="Other Objects">
<link rel="prev" href="xmlroff-FoXslFormatter.html" title="FoXslFormatter">
<link rel="next" href="utility-objects.html" title="Utility Objects">
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="users.html" title="Users' Guide">
<link rel="chapter" href="developers.html" title="Developers' Guide">
<link rel="chapter" href="object-hierarchy.html" title="Object Hierarchy">
<link rel="chapter" href="object.html" title="FoObject is wonderful">
<link rel="chapter" href="node.html" title="FoNode is wonderful">
<link rel="chapter" href="interfaces.html" title="Interfaces are truly wonderful">
<link rel="chapter" href="formatting-objects.html" title="Formatting Objects are truly wonderful">
<link rel="chapter" href="properties.html" title="Properties">
<link rel="chapter" href="areas.html" title="Area Objects">
<link rel="chapter" href="datatypes.html" title="Datatype Objects">
<link rel="chapter" href="context.html" title="Property Context Object">
<link rel="chapter" href="other-objects.html" title="Other Objects">
<link rel="chapter" href="utility-objects.html" title="Utility Objects">
<link rel="chapter" href="utility-modules.html" title="Utility Modules">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="xmlroff-FoXslFormatter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="other-objects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">xmlroff Reference Manual</th>
<td><a accesskey="n" href="utility-objects.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#xmlroff-FoXsltTransformer.synopsis" class="shortcut">Top</a>
|
<a href="#xmlroff-FoXsltTransformer.description" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="xmlroff-FoXsltTransformer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="xmlroff-FoXsltTransformer.top_of_page"></a>FoXsltTransformer</span></h2>
<p>FoXsltTransformer — libxslt XSLT processor</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="xmlroff-FoXsltTransformer.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
const <a class="link" href="xmlroff-libfo-version.html#LibfoVersionInfo" title="LibfoVersionInfo">LibfoVersionInfo</a>* <a class="link" href="xmlroff-FoXsltTransformer.html#fo-xslt-transformer-version-info" title="fo_xslt_transformer_version_info ()">fo_xslt_transformer_version_info</a>
(void);
<a class="link" href="xmlroff-FoXmlDoc.html#FoXmlDoc" title="FoXmlDoc">FoXmlDoc</a>* <a class="link" href="xmlroff-FoXsltTransformer.html#fo-xslt-transformer-do-transform" title="fo_xslt_transformer_do_transform ()">fo_xslt_transformer_do_transform</a> (<a class="link" href="xmlroff-FoXmlDoc.html#FoXmlDoc" title="FoXmlDoc">FoXmlDoc</a> *xml_doc,
<a class="link" href="xmlroff-FoXmlDoc.html#FoXmlDoc" title="FoXmlDoc">FoXmlDoc</a> *stylesheet_doc,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);
#define <a class="link" href="xmlroff-FoXsltTransformer.html#FO-XSLT-TRANSFORMER-ERROR:CAPS" title="FO_XSLT_TRANSFORMER_ERROR">FO_XSLT_TRANSFORMER_ERROR</a>
enum <a class="link" href="xmlroff-FoXsltTransformer.html#FoXsltTransformerError" title="enum FoXsltTransformerError">FoXsltTransformerError</a>;
<a
href="../glib/glib-Quarks.html#GQuark"
>GQuark</a> <a class="link" href="xmlroff-FoXsltTransformer.html#fo-xslt-transformer-error-quark" title="fo_xslt_transformer_error_quark ()">fo_xslt_transformer_error_quark</a> (void);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="xmlroff-FoXsltTransformer.description"></a><h2>Description</h2>
<p>
Wrapper for libxslt XSLT processor.</p>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="xmlroff-FoXsltTransformer.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="fo-xslt-transformer-version-info"></a><h3>fo_xslt_transformer_version_info ()</h3>
<pre class="programlisting">const <a class="link" href="xmlroff-libfo-version.html#LibfoVersionInfo" title="LibfoVersionInfo">LibfoVersionInfo</a>* fo_xslt_transformer_version_info
(void);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-xslt-transformer-do-transform"></a><h3>fo_xslt_transformer_do_transform ()</h3>
<pre class="programlisting"><a class="link" href="xmlroff-FoXmlDoc.html#FoXmlDoc" title="FoXmlDoc">FoXmlDoc</a>* fo_xslt_transformer_do_transform (<a class="link" href="xmlroff-FoXmlDoc.html#FoXmlDoc" title="FoXmlDoc">FoXmlDoc</a> *xml_doc,
<a class="link" href="xmlroff-FoXmlDoc.html#FoXmlDoc" title="FoXmlDoc">FoXmlDoc</a> *stylesheet_doc,
<a
href="../glib/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<p>
Apply <em class="parameter"><code>stylesheet_doc</code></em> to <em class="parameter"><code>xml_doc</code></em> and return the result.
</p>
<p>
Frees <em class="parameter"><code>stylesheet_doc</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>xml_doc</code></em> :</span></p></td>
<td> Input document.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>stylesheet_doc</code></em> :</span></p></td>
<td> Stylesheet document.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> Indication of any error that occurred.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new result tree that is freed by the caller.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FO-XSLT-TRANSFORMER-ERROR:CAPS"></a><h3>FO_XSLT_TRANSFORMER_ERROR</h3>
<pre class="programlisting">#define FO_XSLT_TRANSFORMER_ERROR fo_xslt_transformer_error_quark ()
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="FoXsltTransformerError"></a><h3>enum FoXsltTransformerError</h3>
<pre class="programlisting">typedef enum
{
FO_XSLT_TRANSFORMER_ERROR_FAILED,
FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED,
FO_XSLT_TRANSFORMER_ERROR_NO_STYLESHEET_DOC,
FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC,
FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED
} FoXsltTransformerError;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="fo-xslt-transformer-error-quark"></a><h3>fo_xslt_transformer_error_quark ()</h3>
<pre class="programlisting"><a
href="../glib/glib-Quarks.html#GQuark"
>GQuark</a> fo_xslt_transformer_error_quark (void);</pre>
<p>
Get the error quark for <span class="type">FoXsltTransformer</span>.
</p>
<p>
If the quark does not yet exist, create it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="../glib/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> associated with <span class="type">FoXsltTransformer</span> errors.
</td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.10</div>
</body>
</html>
|