| xmlroff Reference Manual | ||||
|---|---|---|---|---|
const LibfoVersionInfo* fo_xslt_transformer_version_info (void); FoXmlDoc* fo_xslt_transformer_do_transform (FoXmlDoc *xml_doc, FoXmlDoc *stylesheet_doc, GError **error); #define FO_XSLT_TRANSFORMER_ERROR enum FoXsltTransformerError; GQuark fo_xslt_transformer_error_quark (void);
const LibfoVersionInfo* fo_xslt_transformer_version_info (void);
| Returns : |
FoXmlDoc* fo_xslt_transformer_do_transform (FoXmlDoc *xml_doc, FoXmlDoc *stylesheet_doc, GError **error);
Apply stylesheet_doc to xml_doc and return the result.
Frees stylesheet_doc.
xml_doc : |
Input document. |
stylesheet_doc : |
Stylesheet document. |
error : |
Indication of any error that occurred. |
| Returns : | A new result tree that is freed by the caller. |
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;