ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


xsltutils.h

Includes:

Introduction



#defines


IS_XSLT_ELEM


#define IS_XSLT_ELEM(
    n) \ (((
    n) != NULL) && ((
    n)->ns != NULL) && \ (
    xmlStrEqual((
    n)->ns->href, ((
    xmlChar *) "http:/*www.w3.org/1999/XSL/Transform") \

        */))) 
Discussion

IS_XSLT_ELEM:

Checks that the element pertains to XSLT namespace.


IS_XSLT_NAME


#define IS_XSLT_NAME(
    n, val) \ (
    xmlStrEqual((
    n)->name, (
    const xmlChar *) (
    val))) 
Discussion

IS_XSLT_NAME:

Checks the value of an element in XSLT namespace.


IS_XSLT_REAL_NODE


#define IS_XSLT_REAL_NODE(
    n) \ (((
    n) != NULL) && \ (((
    n)->type == XML_ELEMENT_NODE) || \ ((
    n)->type == XML_TEXT_NODE) || \ ((
    n)->type == XML_ATTRIBUTE_NODE) || \ ((
    n)->type == XML_DOCUMENT_NODE) || \ ((
    n)->type == XML_HTML_DOCUMENT_NODE) || \ ((
    n)->type == XML_PI_NODE))) 
Discussion

IS_XSLT_REAL_NODE:

Check that a node is a 'real' one: document, element, text or attribute.


XSLT_STRANGE


#define XSLT_STRANGE \ xsltGenericError(
    xsltGenericErrorContext, \ "Internal error at %s:%d\n", \ __FILE__, __LINE__); 
Discussion

XSLT_STRANGE:

Macro to flag that a problem was detected internally.


XSLT_TIMESTAMP_TICS_PER_SEC


#define XSLT_TIMESTAMP_TICS_PER_SEC 100000l 
Discussion

XSLT_TIMESTAMP_TICS_PER_SEC:

Sampling precision for profiling


XSLT_TODO


#define XSLT_TODO \ xsltGenericError(
    xsltGenericErrorContext, \ "Unimplemented block at %s:%d\n", \ __FILE__, __LINE__); 
Discussion

XSLT_TODO:

Macro to flag unimplemented blocks.


XSLT_TRACE


#define XSLT_TRACE(
    ctxt,code,call) \ if (
    ctxt->traceCode && (
    *(
    ctxt->traceCode) & code)) \ call 
Discussion

XSLT_TRACE:

Control the type of xsl debugtrace messages emitted.

Last Updated: 2006-06-20