Details
IS_XSLT_ELEM()
Checks that the element pertains to XSLT namespace.
IS_XSLT_NAME()
#define IS_XSLT_NAME(n, val) |
Checks the value of an element in XSLT namespace.
IS_XSLT_REAL_NODE()
#define IS_XSLT_REAL_NODE(n) |
Check that a node is a 'real' one: document, element, text or attribute.
xsltGetNsProp ()
xmlChar* xsltGetNsProp (xmlNodePtr node,
const xmlChar *name,
const xmlChar *nameSpace); |
Similar to xmlGetNsProp() but with a slightly different semantic
Search and get the value of an attribute associated to a node
This attribute has to be anchored in the namespace specified,
or has no namespace and the element is in that namespace.
This does the entity substitution.
This function looks in DTD attribute declaration for FIXED or
default declaration values unless DTD use has been turned off.
xsltPrintErrorContext ()
Display the context of an error.
xsltMessage ()
Process and xsl:message construct
xsltSetGenericErrorFunc ()
void xsltSetGenericErrorFunc (void *ctx,
xmlGenericErrorFunc handler); |
Function to reset the handler and the error context for out of
context error messages.
This simply means that handler will be called for subsequent
error messages while not parsing nor validating. And ctx will
be passed as first argument to handler
One can simply force messages to be emitted to another FILE * than
stderr by setting ctx to this file handle and handler to NULL.
xsltSetGenericDebugFunc ()
void xsltSetGenericDebugFunc (void *ctx,
xmlGenericErrorFunc handler); |
Function to reset the handler and the error context for out of
context error messages.
This simply means that handler will be called for subsequent
error messages while not parsing or validating. And ctx will
be passed as first argument to handler
One can simply force messages to be emitted to another FILE * than
stderr by setting ctx to this file handle and handler to NULL.
xsltDocumentSortFunction ()
void xsltDocumentSortFunction (xmlNodeSetPtr list); |
reorder the current node list list accordingly to the document order
xsltDoSortFunction ()
reorder the current node list accordingly to the set of sorting
requirement provided by the arry of nodes.
xsltGetQNameURI ()
const xmlChar* xsltGetQNameURI (xmlNodePtr node,
xmlChar **name); |
This function analyzes name, if the name contains a prefix,
the function seaches the associated namespace in scope for it.
It will also replace name value with the NCName, the old value being
freed.
Errors in the prefix lookup are signalled by setting name to NULL.
NOTE: the namespace returned is a pointer to the place where it is
defined and hence has the same lifespan as the document holding it.
xsltSaveResultTo ()
int xsltSaveResultTo (xmlOutputBufferPtr buf,
xmlDocPtr result,
xsltStylesheetPtr style); |
Save the result result obtained by applying the style stylesheet
to an I/O output channel buf
xsltSaveResultToFilename ()
int xsltSaveResultToFilename (const char *URI,
xmlDocPtr result,
xsltStylesheetPtr style,
int compression); |
Save the result result obtained by applying the style stylesheet
to a file or URL
xsltSaveResultToFile ()
Save the result result obtained by applying the style stylesheet
to an open FILE * I/O.
This does not close the FILE file
xsltSaveResultToFd ()
Save the result result obtained by applying the style stylesheet
to an open file descriptor
This does not close the descriptor.
xsltSaveProfiling ()
Save the profiling informations on output
xsltTimestamp ()
long xsltTimestamp (void); |
Used for gathering profiling data
xsltCalibrateAdjust ()
void xsltCalibrateAdjust (long delta); |
Used for to correct the calibration for xsltTimestamp()
XSLT_TIMESTAMP_TICS_PER_SEC
#define XSLT_TIMESTAMP_TICS_PER_SEC 100000l |
enum xsltDebugStatusCodes
typedef enum {
XSLT_DEBUG_NONE = 0, /* no debugging allowed */
XSLT_DEBUG_INIT,
XSLT_DEBUG_STEP,
XSLT_DEBUG_STEPOUT,
XSLT_DEBUG_NEXT,
XSLT_DEBUG_STOP,
XSLT_DEBUG_CONT,
XSLT_DEBUG_RUN,
XSLT_DEBUG_RUN_RESTART,
XSLT_DEBUG_QUIT
} xsltDebugStatusCodes; |
xsltHandleDebuggerCallback ()
xsltDropCallCallback ()
void (*xsltDropCallCallback) (void); |
xsltSetDebuggerCallbacks ()
int xsltSetDebuggerCallbacks (int no,
void *block); |
xslAddCall ()
Add template "call" to call stack
xslDropCall ()
Drop the topmost item off the call stack