functions

Name

functions -- 

Synopsis



#define     XSLT_REGISTER_FUNCTION_LOOKUP   (ctxt)
xmlXPathFunction xsltXPathFunctionLookup    (xmlXPathContextPtr ctxt,
                                             const xmlChar *name,
                                             const xmlChar *ns_uri);
void        xsltDocumentFunction            (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltKeyFunction                 (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltUnparsedEntityURIFunction   (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltFormatNumberFunction        (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltGenerateIdFunction          (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltSystemPropertyFunction      (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltElementAvailableFunction    (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltFunctionAvailableFunction   (xmlXPathParserContextPtr ctxt,
                                             int nargs);
void        xsltRegisterAllFunctions        (xmlXPathContextPtr ctxt);

Description

Details

XSLT_REGISTER_FUNCTION_LOOKUP()

#define     XSLT_REGISTER_FUNCTION_LOOKUP(ctxt)

Registering macro, not general purpose at all but used in different modules.


xsltXPathFunctionLookup ()

xmlXPathFunction xsltXPathFunctionLookup    (xmlXPathContextPtr ctxt,
                                             const xmlChar *name,
                                             const xmlChar *ns_uri);

This is the entry point when a function is needed by the XPath interpretor.


xsltDocumentFunction ()

void        xsltDocumentFunction            (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the document() XSLT function node-set document(object, node-set?)


xsltKeyFunction ()

void        xsltKeyFunction                 (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the key() XSLT function node-set key(string, object)


xsltUnparsedEntityURIFunction ()

void        xsltUnparsedEntityURIFunction   (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the unparsed-entity-uri() XSLT function string unparsed-entity-uri(string)


xsltFormatNumberFunction ()

void        xsltFormatNumberFunction        (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the format-number() XSLT function string format-number(number, string, string?)


xsltGenerateIdFunction ()

void        xsltGenerateIdFunction          (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the generate-id() XSLT function string generate-id(node-set?)


xsltSystemPropertyFunction ()

void        xsltSystemPropertyFunction      (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the system-property() XSLT function object system-property(string)


xsltElementAvailableFunction ()

void        xsltElementAvailableFunction    (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the element-available() XSLT function boolean element-available(string)


xsltFunctionAvailableFunction ()

void        xsltFunctionAvailableFunction   (xmlXPathParserContextPtr ctxt,
                                             int nargs);

Implement the function-available() XSLT function boolean function-available(string)


xsltRegisterAllFunctions ()

void        xsltRegisterAllFunctions        (xmlXPathContextPtr ctxt);

Registers all default XSLT functions in this context