FoXsltTransformer

FoXsltTransformer — libxslt XSLT processor

Functions

Types and Values

Description

Wrapper for libxslt XSLT processor.

Functions

fo_xslt_transformer_version_info ()

const LibfoVersionInfo *
fo_xslt_transformer_version_info (void);

fo_xslt_transformer_do_transform ()

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 .

Parameters

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.


fo_xslt_transformer_error_quark ()

GQuark
fo_xslt_transformer_error_quark (void);

Get the error quark for FoXsltTransformer.

If the quark does not yet exist, create it.

Returns

GQuark associated with FoXsltTransformer errors.

Types and Values

FO_XSLT_TRANSFORMER_ERROR

#define FO_XSLT_TRANSFORMER_ERROR fo_xslt_transformer_error_quark ()

enum FoXsltTransformerError

Members

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