|
libxml2
|
Implementation of XInclude 1.0. More...
Macros | |
| #define | XINCLUDE_NS (const xmlChar *) "http://www.w3.org/2003/XInclude" |
| Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude. | |
| #define | XINCLUDE_OLD_NS (const xmlChar *) "http://www.w3.org/2001/XInclude" |
| Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude. | |
| #define | XINCLUDE_NODE (const xmlChar *) "include" |
| Macro defining "include". | |
| #define | XINCLUDE_FALLBACK (const xmlChar *) "fallback" |
| Macro defining "fallback". | |
| #define | XINCLUDE_HREF (const xmlChar *) "href" |
| Macro defining "href". | |
| #define | XINCLUDE_PARSE (const xmlChar *) "parse" |
| Macro defining "parse". | |
| #define | XINCLUDE_PARSE_XML (const xmlChar *) "xml" |
| Macro defining "xml". | |
| #define | XINCLUDE_PARSE_TEXT (const xmlChar *) "text" |
| Macro defining "text". | |
| #define | XINCLUDE_PARSE_ENCODING (const xmlChar *) "encoding" |
| Macro defining "encoding". | |
| #define | XINCLUDE_PARSE_XPOINTER (const xmlChar *) "xpointer" |
| Macro defining "xpointer". | |
Typedefs | |
| typedef struct _xmlXIncludeCtxt | xmlXIncludeCtxt |
| XInclude context. | |
Functions | |
| int | xmlXIncludeProcess (xmlDoc *doc) |
| Implement the XInclude substitution on the XML document doc | |
| int | xmlXIncludeProcessFlags (xmlDoc *doc, int flags) |
| Implement the XInclude substitution on the XML document doc | |
| int | xmlXIncludeProcessFlagsData (xmlDoc *doc, int flags, void *data) |
| Implement the XInclude substitution on the XML document doc | |
| int | xmlXIncludeProcessTreeFlagsData (xmlNode *tree, int flags, void *data) |
| Implement the XInclude substitution on the XML node tree | |
| int | xmlXIncludeProcessTree (xmlNode *tree) |
| Implement the XInclude substitution for the given subtree. | |
| int | xmlXIncludeProcessTreeFlags (xmlNode *tree, int flags) |
| Implement the XInclude substitution for the given subtree. | |
| xmlXIncludeCtxt * | xmlXIncludeNewContext (xmlDoc *doc) |
| Creates a new XInclude context. | |
| int | xmlXIncludeSetFlags (xmlXIncludeCtxt *ctxt, int flags) |
| Set the flags used for further processing of XML resources. | |
| void | xmlXIncludeSetErrorHandler (xmlXIncludeCtxt *ctxt, xmlStructuredErrorFunc handler, void *data) |
| Register a callback function that will be called on errors and warnings. | |
| void | xmlXIncludeSetResourceLoader (xmlXIncludeCtxt *ctxt, xmlResourceLoader loader, void *data) |
| Register a callback function that will be called to load included documents. | |
| int | xmlXIncludeGetLastError (xmlXIncludeCtxt *ctxt) |
| void | xmlXIncludeFreeContext (xmlXIncludeCtxt *ctxt) |
| Free an XInclude context. | |
| int | xmlXIncludeProcessNode (xmlXIncludeCtxt *ctxt, xmlNode *tree) |
| Implement the XInclude substitution for the given subtree reusing the information and data coming from the given context. | |
Implementation of XInclude 1.0.
API to process XML Inclusions.
| void xmlXIncludeFreeContext | ( | xmlXIncludeCtxt * | ctxt | ) |
Free an XInclude context.
| ctxt | the XInclude context |
| int xmlXIncludeGetLastError | ( | xmlXIncludeCtxt * | ctxt | ) |
| ctxt | an XInclude processing context |
| xmlXIncludeCtxt * xmlXIncludeNewContext | ( | xmlDoc * | doc | ) |
Creates a new XInclude context.
| doc | an XML Document |
| int xmlXIncludeProcess | ( | xmlDoc * | doc | ) |
Implement the XInclude substitution on the XML document doc
| doc | an XML document |
| int xmlXIncludeProcessFlags | ( | xmlDoc * | doc, |
| int | flags ) |
Implement the XInclude substitution on the XML document doc
| doc | an XML document |
| flags | a set of xmlParserOption used for parsing XML includes |
| int xmlXIncludeProcessFlagsData | ( | xmlDoc * | doc, |
| int | flags, | ||
| void * | data ) |
Implement the XInclude substitution on the XML document doc
| doc | an XML document |
| flags | a set of xmlParserOption used for parsing XML includes |
| data | application data that will be passed to the parser context in the _private field of the parser context(s) |
| int xmlXIncludeProcessNode | ( | xmlXIncludeCtxt * | ctxt, |
| xmlNode * | node ) |
Implement the XInclude substitution for the given subtree reusing the information and data coming from the given context.
| ctxt | an existing XInclude context |
| node | a node in an XML document |
| int xmlXIncludeProcessTree | ( | xmlNode * | tree | ) |
Implement the XInclude substitution for the given subtree.
| tree | a node in an XML document |
| int xmlXIncludeProcessTreeFlags | ( | xmlNode * | tree, |
| int | flags ) |
Implement the XInclude substitution for the given subtree.
| tree | a node in an XML document |
| flags | a set of xmlParserOption used for parsing XML includes |
| int xmlXIncludeProcessTreeFlagsData | ( | xmlNode * | tree, |
| int | flags, | ||
| void * | data ) |
Implement the XInclude substitution on the XML node tree
| tree | an XML node |
| flags | a set of xmlParserOption used for parsing XML includes |
| data | application data that will be passed to the parser context in the _private field of the parser context(s) |
| void xmlXIncludeSetErrorHandler | ( | xmlXIncludeCtxt * | ctxt, |
| xmlStructuredErrorFunc | handler, | ||
| void * | data ) |
Register a callback function that will be called on errors and warnings.
If handler is NULL, the error handler will be deactivated.
| ctxt | an XInclude processing context |
| handler | error handler |
| data | user data which will be passed to the handler |
| int xmlXIncludeSetFlags | ( | xmlXIncludeCtxt * | ctxt, |
| int | flags ) |
Set the flags used for further processing of XML resources.
| ctxt | an XInclude processing context |
| flags | a set of xmlParserOption used for parsing XML includes |
| void xmlXIncludeSetResourceLoader | ( | xmlXIncludeCtxt * | ctxt, |
| xmlResourceLoader | loader, | ||
| void * | data ) |
Register a callback function that will be called to load included documents.
| ctxt | an XInclude processing context |
| loader | resource loader |
| data | user data which will be passed to the loader |