Blame doc/html/libxml-xinclude.html

Packit Service a31ea6
Packit Service a31ea6
Packit Service a31ea6
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css">
Packit Service a31ea6
TD {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
Packit Service a31ea6
H1 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
H2 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
H3 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
A:link, A:visited, A:active { text-decoration: underline }
Packit Service a31ea6
</style><style type="text/css">
Packit Service a31ea6
      div.deprecated pre.programlisting {border-style: double;border-color:red}
Packit Service a31ea6
      pre.programlisting {border-style: double;background: #EECFA1}
Packit Service a31ea6
    </style><title>Module xinclude from libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000">
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xinclude from libxml2

<center>API Menu</center>
<form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form>
<center>API Indexes</center>
<center>Related links</center>

API to handle XInclude processing, implements the World Wide Web Consortium Last Call Working Draft 10 November 2003

Table of Contents

#define XINCLUDE_FALLBACK
#define XINCLUDE_HREF
#define XINCLUDE_NODE
#define XINCLUDE_NS
#define XINCLUDE_OLD_NS
#define XINCLUDE_PARSE
#define XINCLUDE_PARSE_ENCODING
#define XINCLUDE_PARSE_TEXT
#define XINCLUDE_PARSE_XML
#define XINCLUDE_PARSE_XPOINTER
Structure xmlXIncludeCtxt
struct _xmlXIncludeCtxt
Packit Service a31ea6
The content of this structure is not made public by the API.
Packit Service a31ea6
Typedef xmlXIncludeCtxt * xmlXIncludeCtxtPtr
Packit Service a31ea6
void	xmlXIncludeFreeContext		(xmlXIncludeCtxtPtr ctxt)
Packit Service a31ea6
xmlXIncludeCtxtPtr	xmlXIncludeNewContext	(xmlDocPtr doc)
Packit Service a31ea6
int	xmlXIncludeProcess		(xmlDocPtr doc)
Packit Service a31ea6
int	xmlXIncludeProcessFlags		(xmlDocPtr doc, 
int flags)
Packit Service a31ea6
int	xmlXIncludeProcessFlagsData	(xmlDocPtr doc, 
int flags,
void * data)
Packit Service a31ea6
int	xmlXIncludeProcessNode		(xmlXIncludeCtxtPtr ctxt, 
xmlNodePtr node)
Packit Service a31ea6
int	xmlXIncludeProcessTree		(xmlNodePtr tree)
Packit Service a31ea6
int	xmlXIncludeProcessTreeFlags	(xmlNodePtr tree, 
int flags)
Packit Service a31ea6
int	xmlXIncludeProcessTreeFlagsData	(xmlNodePtr tree, 
int flags,
void * data)
Packit Service a31ea6
int	xmlXIncludeSetFlags		(xmlXIncludeCtxtPtr ctxt, 
int flags)
Packit Service a31ea6

Description

Packit Service a31ea6

Macro: XINCLUDE_FALLBACK

#define XINCLUDE_FALLBACK

Macro defining "fallback"

Packit Service a31ea6

Macro: XINCLUDE_HREF

#define XINCLUDE_HREF

Macro defining "href"

Packit Service a31ea6

Macro: XINCLUDE_NODE

#define XINCLUDE_NODE

Macro defining "include"

Packit Service a31ea6

Macro: XINCLUDE_NS

#define XINCLUDE_NS

Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude

Packit Service a31ea6

Macro: XINCLUDE_OLD_NS

#define XINCLUDE_OLD_NS

Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude

Packit Service a31ea6

Macro: XINCLUDE_PARSE

#define XINCLUDE_PARSE

Macro defining "parse"

Packit Service a31ea6

Macro: XINCLUDE_PARSE_ENCODING

#define XINCLUDE_PARSE_ENCODING

Macro defining "encoding"

Packit Service a31ea6

Macro: XINCLUDE_PARSE_TEXT

#define XINCLUDE_PARSE_TEXT

Macro defining "text"

Packit Service a31ea6

Macro: XINCLUDE_PARSE_XML

#define XINCLUDE_PARSE_XML

Macro defining "xml"

Packit Service a31ea6

Macro: XINCLUDE_PARSE_XPOINTER

#define XINCLUDE_PARSE_XPOINTER

Macro defining "xpointer"

Packit Service a31ea6

Structure xmlXIncludeCtxt

Structure xmlXIncludeCtxt
struct _xmlXIncludeCtxt {
Packit Service a31ea6
The content of this structure is not made public by the API.
Packit Service a31ea6
}

Function: xmlXIncludeFreeContext

void	xmlXIncludeFreeContext		(xmlXIncludeCtxtPtr ctxt)
Packit Service a31ea6

Free an XInclude context

Packit Service a31ea6
<tt>ctxt</tt>:the XInclude context

Function: xmlXIncludeNewContext

xmlXIncludeCtxtPtr	xmlXIncludeNewContext	(xmlDocPtr doc)
Packit Service a31ea6

Creates a new XInclude context

Packit Service a31ea6
<tt>doc</tt>:an XML Document
<tt>Returns</tt>:the new set

Function: xmlXIncludeProcess

int	xmlXIncludeProcess		(xmlDocPtr doc)
Packit Service a31ea6

Implement the XInclude substitution on the XML document @doc

Packit Service a31ea6
<tt>doc</tt>:an XML document
<tt>Returns</tt>:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.

Function: xmlXIncludeProcessFlags

int	xmlXIncludeProcessFlags		(xmlDocPtr doc, 
int flags)
Packit Service a31ea6

Implement the XInclude substitution on the XML document @doc

Packit Service a31ea6
<tt>doc</tt>:an XML document
<tt>flags</tt>:a set of xmlParserOption used for parsing XML includes
<tt>Returns</tt>:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.

Function: xmlXIncludeProcessFlagsData

int	xmlXIncludeProcessFlagsData	(xmlDocPtr doc, 
int flags,
void * data)
Packit Service a31ea6

Implement the XInclude substitution on the XML document @doc

Packit Service a31ea6
<tt>doc</tt>:an XML document
<tt>flags</tt>:a set of xmlParserOption used for parsing XML includes
<tt>data</tt>:application data that will be passed to the parser context in the _private field of the parser context(s)
<tt>Returns</tt>:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.

Function: xmlXIncludeProcessNode

int	xmlXIncludeProcessNode		(xmlXIncludeCtxtPtr ctxt, 
xmlNodePtr node)
Packit Service a31ea6

Implement the XInclude substitution for the given subtree reusing the informations and data coming from the given context.

Packit Service a31ea6
<tt>ctxt</tt>:an existing XInclude context
<tt>node</tt>:a node in an XML document
<tt>Returns</tt>:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.

Function: xmlXIncludeProcessTree

int	xmlXIncludeProcessTree		(xmlNodePtr tree)
Packit Service a31ea6

Implement the XInclude substitution for the given subtree

Packit Service a31ea6
<tt>tree</tt>:a node in an XML document
<tt>Returns</tt>:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.

Function: xmlXIncludeProcessTreeFlags

int	xmlXIncludeProcessTreeFlags	(xmlNodePtr tree, 
int flags)
Packit Service a31ea6

Implement the XInclude substitution for the given subtree

Packit Service a31ea6
<tt>tree</tt>:a node in an XML document
<tt>flags</tt>:a set of xmlParserOption used for parsing XML includes
<tt>Returns</tt>:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.

Function: xmlXIncludeProcessTreeFlagsData

int	xmlXIncludeProcessTreeFlagsData	(xmlNodePtr tree, 
int flags,
void * data)
Packit Service a31ea6

Implement the XInclude substitution on the XML node @tree

Packit Service a31ea6
<tt>tree</tt>:an XML node
<tt>flags</tt>:a set of xmlParserOption used for parsing XML includes
<tt>data</tt>:application data that will be passed to the parser context in the _private field of the parser context(s)
<tt>Returns</tt>:0 if no substitution were done, -1 if some processing failed or the number of substitutions done.

Function: xmlXIncludeSetFlags

int	xmlXIncludeSetFlags		(xmlXIncludeCtxtPtr ctxt, 
int flags)
Packit Service a31ea6

Set the flags used for further processing of XML resources.

Packit Service a31ea6
<tt>ctxt</tt>:an XInclude processing context
<tt>flags</tt>:a set of xmlParserOption used for parsing XML includes
<tt>Returns</tt>:0 in case of success and -1 in case of error.

Daniel Veillard

</body></html>