Expand description
XInclude implementation (§26, §85 Phase 5).
XML Inclusions (XInclude) v1.0 (W3C Recommendation):
Process <xi:include> elements in an XML document, replacing them
with content from external resources.
§XInclude 1.0 support
hrefattribute for referencing external documentsparse="xml"(default) andparse="text"modesxpointerattribute with XPointer expressionsacceptandaccept-languageattributes for content negotiation<xi:fallback>child element for fallback content- Recursive processing (includes within included documents)
- Circular reference detection via URL tracking
- Proper namespace handling (
http://www.w3.org/2001/XInclude) XML_XINCLUDE_START/XML_XINCLUDE_ENDsentinel node handling
§C ABI
xmlXIncludeProcess(doc)— process all XInclude nodes in a documentxmlXIncludeProcessFlags(doc, flags)— process with flags
§UPSTREAM-PARITY
This implementation follows the XInclude 1.0 W3C Recommendation: https://www.w3.org/TR/xinclude/
Functions§
- xinclude_
process ⚠ - Process all
<xi:include>elements in a document, replacing them with content from the referenced resources. - xinclude_
process_ ⚠flags - Process XInclude nodes with flags.