|
Public Member Functions |
| | BCXSLT () |
| | ~BCXSLT () |
| int | isBlank (unsigned char *) |
| | Check if a string is ignorable Returns: 1 if the string is NULL or made of blanks chars, 0 otherwise.
|
| int | isXsltElem (BAL::BTXMLNode *) |
| | isXsltElem:
|
| int | isXlstName (BAL::BTXMLNode *, char *) |
| | IS_XSLT_NAME:.
|
| unsigned char * | xsltGetNsProp (BAL::BTXMLNode *node, const unsigned char *name, const unsigned char *nameSpace) |
| | get the namespace properties
|
| BAL::BTXSLTStyleSheet * | xsltLoadStylesheetPI (BAL::BTXMLDoc *doc) |
| | load the styleSheet
|
| BAL::BTXSLTStyleSheet * | xsltParseStylesheetDoc (BAL::BTXMLDoc *doc) |
| | Parse the styleSheet.
|
| void | setLoaderFunc (BAL::BIXSLTDocLoaderFunc f) |
| | BIXSLTDocLoaderFunc: : the URI of the document to load : the dictionnary to use when parsing that document : parsing options, a set of xmlParserOption : the context, either a stylesheet or a transformation context : the BIXsltLoadType indicating the kind of loading required.
|
| int | xsltSaveResultTo (BAL::BTXMLOutputBuffer *buf, BAL::BTXMLDoc *result, BAL::BTXSLTStyleSheet *style) |
| | Save the result obtained by applying the stylesheet to an I/O output channel buf.
|
| void | getImportPtr (const unsigned char *res, BAL::BTXSLTStyleSheet *style) |
| | import pointers from the stylesheet cascading order.
|
| BAL::BTXSLTTransformContext * | xsltNewTransformContext (BAL::BTXSLTStyleSheet *style, BAL::BTXMLDoc *doc) |
| | Export context to users.
|
| int | xsltQuoteUserParams (BAL::BTXSLTTransformContext *ctxt, const char **params) |
| | Interfaces for the variable module.
|
| BAL::BTXMLDoc * | xsltApplyStylesheetUser (BAL::BTXSLTStyleSheet *style, BAL::BTXMLDoc *doc, const char **params, const char *output, FILE *profile, BAL::BTXSLTTransformContext *userCtxt) |
| | Apply the user style sheet.
|
| void | xsltFreeTransformContext (BAL::BTXSLTTransformContext *ctxt) |
| | free the transform context
|
| void | xsltFreeStylesheet (BAL::BTXSLTStyleSheet *sheet) |
| | free the style sheet
|
Static Public Member Functions |
| static xmlDocPtr | XSLTDocLoaderFunc (const xmlChar *URI, xmlDictPtr dict, int options, void *ctxt, xsltLoadType type) |
BIXSLTDocLoaderFunc: : the URI of the document to load : the dictionnary to use when parsing that document : parsing options, a set of xmlParserOption : the context, either a stylesheet or a transformation context : the BIXsltLoadType indicating the kind of loading required.
An BIXSLTDocLoaderFunc is a signature for a function which can be registered to load document not provided by the compilation or transformation API themselve, for example when an xsl:import, xsl:include is found at compilation time or when a document() call is made at runtime.
Returns the pointer to the document (which will be modified and freed by the engine later), or NULL in case of error.
Implements BAL::BIXSLT.