| Gnome XML Library Reference Manual |
|---|
xinclude —
#define XINCLUDE_NS #define XINCLUDE_NODE #define XINCLUDE_FALLBACK #define XINCLUDE_HREF #define XINCLUDE_PARSE #define XINCLUDE_PARSE_XML #define XINCLUDE_PARSE_TEXT #define XINCLUDE_PARSE_ENCODING struct xmlXIncludeCtxt; typedef xmlXIncludeCtxtPtr; int xmlXIncludeProcess (xmlDocPtr doc); int xmlXIncludeProcessTree (xmlNodePtr tree); xmlXIncludeCtxtPtr xmlXIncludeNewContext (xmlDocPtr doc); void xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt); int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt, xmlNodePtr tree);
int xmlXIncludeProcess (xmlDocPtr doc);
Implement the XInclude substitution on the XML document doc
| doc: | an XML document |
| Returns : | 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. |
int xmlXIncludeProcessTree (xmlNodePtr tree);
Implement the XInclude substitution for the given subtree
| tree: | a node in an XML document |
| Returns : | 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. |
xmlXIncludeCtxtPtr xmlXIncludeNewContext (xmlDocPtr doc);
Creates a new XInclude context
| doc: | an XML Document |
| Returns : | the new set |
void xmlXIncludeFreeContext (xmlXIncludeCtxtPtr ctxt);
Free an XInclude context
| ctxt: | the XInclude context |
int xmlXIncludeProcessNode (xmlXIncludeCtxtPtr ctxt, xmlNodePtr tree);
Implement the XInclude substitution for the given subtree reusing the informations and data coming from the given context.
| ctxt: | an existing XInclude context |
| tree: | |
| Returns : | 0 if no substitution were done, -1 if some processing failed or the number of substitutions done. |
| << xmlexports | xmlreader >> |