123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- (*
- * Summary: implementation of XInclude
- * Description: API to handle XInclude processing,
- * implements the
- * World Wide Web Consortium Last Call Working Draft 10 November 2003
- * http://www.w3.org/TR/2003/WD-xinclude-20031110
- *
- * Copy: See Copyright for the status of this software.
- *
- * Author: Daniel Veillard
- *)
- {$IFDEF LIBXML_XINCLUDE_ENABLED}
- {$IFDEF CONST}
- (**
- * XINCLUDE_NS:
- *
- * Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude
- *)
- XINCLUDE_NS: xmlCharPtr = 'http://www.w3.org/2003/XInclude';
- (**
- * XINCLUDE_OLD_NS:
- *
- * Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude
- *)
- XINCLUDE_OLD_NS: xmlCharPtr = 'http://www.w3.org/2001/XInclude';
- (**
- * XINCLUDE_NODE:
- *
- * Macro defining "include"
- *)
- XINCLUDE_NODE: xmlCharPtr = 'include';
- (**
- * XINCLUDE_FALLBACK:
- *
- * Macro defining "fallback"
- *)
- XINCLUDE_FALLBACK: xmlCharPtr = 'fallback';
- (**
- * XINCLUDE_HREF:
- *
- * Macro defining "href"
- *)
- XINCLUDE_HREF: xmlCharPtr = 'href';
- (**
- * XINCLUDE_PARSE:
- *
- * Macro defining "parse"
- *)
- XINCLUDE_PARSE: xmlCharPtr = 'parse';
- (**
- * XINCLUDE_PARSE_XML:
- *
- * Macro defining "xml"
- *)
- XINCLUDE_PARSE_XML: xmlCharPtr = 'xml';
- (**
- * XINCLUDE_PARSE_TEXT:
- *
- * Macro defining "text"
- *)
- XINCLUDE_PARSE_TEXT: xmlCharPtr = 'text';
- (**
- * XINCLUDE_PARSE_ENCODING:
- *
- * Macro defining "encoding"
- *)
- XINCLUDE_PARSE_ENCODING: xmlCharPtr = 'encoding';
- (**
- * XINCLUDE_PARSE_XPOINTER:
- *
- * Macro defining "xpointer"
- *)
- XINCLUDE_PARSE_XPOINTER: xmlCharPtr = 'xpointer';
- {$ENDIF}
- {$IFDEF POINTER}
- xmlXIncludeCtxtPtr = ^xmlXIncludeCtxt;
- {$ENDIF}
- {$IFDEF TYPE}
- xmlXIncludeCtxt = record end;
- {$ENDIF}
- {$IFDEF FUNCTION}
- (*
- * standalone processing
- *)
- function xmlXIncludeProcess(doc: xmlDocPtr): cint; EXTDECL; external xml2lib;
- function xmlXIncludeProcessFlags(doc: xmlDocPtr; flags: cint): cint; EXTDECL; external xml2lib;
- function xmlXIncludeProcessFlagsData(doc: xmlDocPtr; flags: cint; data: pointer): cint; EXTDECL; external xml2lib;
- function xmlXIncludeProcessTree(tree: xmlNodePtr): cint; EXTDECL; external xml2lib;
- function xmlXIncludeProcessTreeFlags(tree: xmlNodePtr; flags: cint): cint; EXTDECL; external xml2lib;
- (*
- * contextual processing
- *)
- function xmlXIncludeNewContext(doc: xmlDocPtr): xmlXIncludeCtxtPtr; EXTDECL; external xml2lib;
- function xmlXIncludeProcessFlags(ctxt: xmlXIncludeCtxtPtr; flags: cint): cint; EXTDECL; external xml2lib;
- procedure xmlXIncludeProcess(ctxt: xmlXIncludeCtxtPtr); EXTDECL; external xml2lib;
- function xmlXIncludeProcessNode(ctxt: xmlXIncludeCtxtPtr; tree: xmlNodePtr): cint; EXTDECL; external xml2lib;
- {$ENDIF}
- {$ENDIF} (* LIBXML_XINCLUDE_ENABLED *)
|