MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlXIncludeDoProcessRoot

Function xmlXIncludeDoProcessRoot

ThirdParty/libxml2/vtklibxml2/xinclude.c:2215–2223  ·  view source on GitHub ↗

* xmlXIncludeDoProcessRoot: * @ctxt: the XInclude processing context * @tree: the top of the tree to process * * Implement the XInclude substitution on the XML document @doc * * Returns 0 if no substitution were done, -1 if some processing failed * or the number of substitutions done. */

Source from the content-addressed store, hash-verified

2213 * or the number of substitutions done.
2214 */
2215static int
2216xmlXIncludeDoProcessRoot(xmlXIncludeCtxtPtr ctxt, xmlNodePtr tree) {
2217 if ((tree == NULL) || (tree->type == XML_NAMESPACE_DECL))
2218 return(-1);
2219 if (ctxt == NULL)
2220 return(-1);
2221
2222 return(xmlXIncludeDoProcess(ctxt, tree));
2223}
2224
2225/**
2226 * xmlXIncludeGetLastError:

Callers 3

xmlXIncludeProcessNodeFunction · 0.85

Calls 1

xmlXIncludeDoProcessFunction · 0.85

Tested by

no test coverage detected