## FoXsltTransformer FoXsltTransformer — libxslt XSLT processor |

## Synopsis

    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);

## Description

Wrapper for libxslt XSLT processor.

## Details

### fo_xslt_transformer_version_info ()

    const LibfoVersionInfo* fo_xslt_transformer_version_info
                                                            (void);

Returns : |

### 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`.

`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

    #define FO_XSLT_TRANSFORMER_ERROR fo_xslt_transformer_error_quark ()

### enum FoXsltTransformerError

    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;

### 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.