xmlroff Reference Manual |
---|
FoXsltTransformer —
#define FO_XSLT_TRANSFORMER_ERRORGQuark fo_xslt_transformer_error_quark (void); enum FoXsltTransformerError; struct FoXsltTransformer; FoXsltTransformer* fo_xslt_transformer_new (void); FoXsltTransformer* fo_xslt_transformer_ref (FoXsltTransformer *fo_xslt_transformer); void fo_xslt_transformer_unref (FoXsltTransformer *fo_xslt_transformer);gboolean fo_xslt_transformer_transform (FoXsltTransformer *fo_xslt_transformer, FoLibfoContext *libfo_context,GError **error); constgchar * fo_xslt_transformer_get_filename (FoXsltTransformer *fo_xslt_transformer); void fo_xslt_transformer_set_filename (FoXsltTransformer *fo_xslt_transformer, constgchar *filename); FoXmlDoc* fo_xslt_transformer_get_xml_doc (FoXsltTransformer *fo_xslt_transformer); void fo_xslt_transformer_set_xml_doc (FoXsltTransformer *fo_xslt_transformer, FoXmlDoc *xml_doc); FoXmlDoc* fo_xslt_transformer_get_result (FoXsltTransformer *fo_xslt_transformer);
GQuark fo_xslt_transformer_error_quark (void);
Get the error quark for FoXsltTransformer.
If the quark does not yet exist, create it.
Returns : | |
typedef enum { FO_XSLT_TRANSFORMER_ERROR_FAILED, FO_XSLT_TRANSFORMER_ERROR_TRANSFORM_FAILED, FO_XSLT_TRANSFORMER_ERROR_PARSE_FAILED, FO_XSLT_TRANSFORMER_ERROR_NO_FILENAME, FO_XSLT_TRANSFORMER_ERROR_NO_XML_DOC, FO_XSLT_TRANSFORMER_ERROR_NO_SGML_CATALOG_FILES } FoXsltTransformerError;
FoXsltTransformer* fo_xslt_transformer_new (void);
Creates a new FoXsltTransformer.
Returns : | the newly created FoXsltTransformer. Use fo_xslt_transformer_unref to free the result. |
FoXsltTransformer* fo_xslt_transformer_ref (FoXsltTransformer *fo_xslt_transformer);
Make a copy of a FoXsltTransformer.
fo_xslt_transformer : | a FoXsltTransformer |
Returns : | a newly allocated FoXsltTransformer. This value must be freed using fo_xslt_transformer_unref(). |
void fo_xslt_transformer_unref (FoXsltTransformer *fo_xslt_transformer);
Unref and possibly free a FoXsltTransformer.
fo_xslt_transformer : | FoXsltTransformer. |
gboolean fo_xslt_transformer_transform (FoXsltTransformer *fo_xslt_transformer, FoLibfoContext *libfo_context,GError **error);
Transforms fo_xslt_transformer.
fo_xslt_transformer : | FoXsltTransformer. |
libfo_context : | FoLibfoContext. |
error : | |
Returns : | Success indication. |
constgchar * fo_xslt_transformer_get_filename (FoXsltTransformer *fo_xslt_transformer);
Get the filename in fo_xslt_transformer.
fo_xslt_transformer : | FoXsltTransformer |
Returns : | Filename of file parsed to make fo_xslt_transformer. |
void fo_xslt_transformer_set_filename (FoXsltTransformer *fo_xslt_transformer, constgchar *filename);
Set the filename in fo_xslt_transformer. Voids the transformation result.
fo_xslt_transformer : | FoXsltTransformer. |
filename : | Filename of XSLT stylesheet. |
FoXmlDoc* fo_xslt_transformer_get_xml_doc (FoXsltTransformer *fo_xslt_transformer);
Get the FoXmlDoc used as input to fo_xslt_transformer.
fo_xslt_transformer : | FoXsltTransformer |
Returns : | FoXmlDoc used as input to fo_xslt_transformer. |
void fo_xslt_transformer_set_xml_doc (FoXsltTransformer *fo_xslt_transformer, FoXmlDoc *xml_doc);
Set the FoXmlDoc in fo_xslt_transformer. Voids the transformation result.
fo_xslt_transformer : | FoXsltTransformer. |
xml_doc : | FoXmlDoc. |
FoXmlDoc* fo_xslt_transformer_get_result (FoXsltTransformer *fo_xslt_transformer);
Get the FoXmlDoc used as input to fo_xslt_transformer.
fo_xslt_transformer : | FoXsltTransformer |
Returns : | FoXmlDoc used as input to fo_xslt_transformer. |
<< FoXslFormatter |