  
    
    
    
    
    
    
    
  
  
    
      
        
          
libxml2-valid.html            
Prev          
        
        
          
general.html            
Up          
        
        
          
index.html            
Home          
        
        
          
libxml2-xlink.html            
Next          
        
        
libxml2 Reference Manual      
    
    
      
xinclude    
    
xinclude - implementation of XInclude
    
API to handle XInclude processing, implements the World Wide Web Consortium Last Call Working Draft 10 November 2003
    
Author(s): Daniel Veillard 
    
      
Synopsis
      
#define #XINCLUDE_PARSE_TEXTXINCLUDE_PARSE_TEXT ;
#define 
#XINCLUDE_PARSE_XPOINTERXINCLUDE_PARSE_XPOINTER ;
#define 
#XINCLUDE_HREFXINCLUDE_HREF ;
#define 
#XINCLUDE_FALLBACKXINCLUDE_FALLBACK ;
#define 
#XINCLUDE_NSXINCLUDE_NS ;
#define 
#XINCLUDE_PARSEXINCLUDE_PARSE ;
#define 
#XINCLUDE_NODEXINCLUDE_NODE ;
#define 
#XINCLUDE_PARSE_XMLXINCLUDE_PARSE_XML ;
#define 
#XINCLUDE_PARSE_ENCODINGXINCLUDE_PARSE_ENCODING ;
#define 
#XINCLUDE_OLD_NSXINCLUDE_OLD_NS ;
typedef struct _xmlXIncludeCtxt 
#xmlXIncludeCtxtxmlXIncludeCtxt ;
typedef 
libxml2-xinclude.html#xmlXIncludeCtxtxmlXIncludeCtxt  * #xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr ;
int	
#xmlXIncludeProcessFlagsxmlXIncludeProcessFlags 		( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int flags);
int	
#xmlXIncludeProcessTreexmlXIncludeProcessTree 		( libxml2-tree.html#xmlNodePtrxmlNodePtr  tree);
int	
#xmlXIncludeProcessNodexmlXIncludeProcessNode 		( libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
void	
#xmlXIncludeFreeContextxmlXIncludeFreeContext 		( libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr  ctxt);
int	
#xmlXIncludeSetFlagsxmlXIncludeSetFlags 		( libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr  ctxt, 					 int flags);
int	
#xmlXIncludeProcessxmlXIncludeProcess 		( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc);
libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr 	#xmlXIncludeNewContextxmlXIncludeNewContext 	( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc);
int	
#xmlXIncludeProcessTreeFlagsxmlXIncludeProcessTreeFlags 	( libxml2-tree.html#xmlNodePtrxmlNodePtr  tree, 					 int flags);
    
    
      
Description
    
    
      
Details
      
        
Macro XINCLUDE_FALLBACK
#define #XINCLUDE_FALLBACKXINCLUDE_FALLBACK ;
Macro defining "fallback"
        
        
Macro XINCLUDE_HREF
#define #XINCLUDE_HREFXINCLUDE_HREF ;
Macro defining "href"
        
        
Macro XINCLUDE_NODE
#define #XINCLUDE_NODEXINCLUDE_NODE ;
Macro defining "include"
        
        
Macro XINCLUDE_NS
#define #XINCLUDE_NSXINCLUDE_NS ;
Macro defining the Xinclude namespace: http://www.w3.org/2003/XInclude
        
        
Macro XINCLUDE_OLD_NS
#define #XINCLUDE_OLD_NSXINCLUDE_OLD_NS ;
Macro defining the draft Xinclude namespace: http://www.w3.org/2001/XInclude
        
        
Macro XINCLUDE_PARSE
#define #XINCLUDE_PARSEXINCLUDE_PARSE ;
Macro defining "parse"
        
        
Macro XINCLUDE_PARSE_ENCODING
#define #XINCLUDE_PARSE_ENCODINGXINCLUDE_PARSE_ENCODING ;
Macro defining "encoding"
        
        
Macro XINCLUDE_PARSE_TEXT
#define #XINCLUDE_PARSE_TEXTXINCLUDE_PARSE_TEXT ;
Macro defining "text"
        
        
Macro XINCLUDE_PARSE_XML
#define #XINCLUDE_PARSE_XMLXINCLUDE_PARSE_XML ;
Macro defining "xml"
        
        
Macro XINCLUDE_PARSE_XPOINTER
#define #XINCLUDE_PARSE_XPOINTERXINCLUDE_PARSE_XPOINTER ;
Macro defining "xpointer"
        
        
Structure xmlXIncludeCtxt
struct _xmlXIncludeCtxt {
The content of this structure is not made public by the API.
} xmlXIncludeCtxt;
        
        
Typedef xmlXIncludeCtxtPtr
libxml2-xinclude.html#xmlXIncludeCtxtxmlXIncludeCtxt  * xmlXIncludeCtxtPtr;
        
        
xmlXIncludeFreeContext ()
void	xmlXIncludeFreeContext		( libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr  ctxt)Free an XInclude context
ctxt: the XInclude context         
        
xmlXIncludeNewContext ()
libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr 	xmlXIncludeNewContext	( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc)Creates a new XInclude context
doc: an XML Document Returns: the new set         
        
xmlXIncludeProcess ()
int	xmlXIncludeProcess		( libxml2-tree.html#xmlDocPtrxmlDocPtr  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.         
        
xmlXIncludeProcessFlags ()
int	xmlXIncludeProcessFlags		( libxml2-tree.html#xmlDocPtrxmlDocPtr  doc, 					 int flags)Implement the XInclude substitution on the XML document @doc
doc: an XML document flags: a set of libxml2-parser.html#xmlParserOptionxmlParserOption  used for parsing XML includes Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done.         
        
xmlXIncludeProcessNode ()
int	xmlXIncludeProcessNode		( libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr  ctxt, 					 libxml2-tree.html#xmlNodePtrxmlNodePtr  node)Implement the XInclude substitution for the given subtree reusing the informations and data coming from the given context.
ctxt: an existing XInclude context node: a node in an XML document Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done.         
        
xmlXIncludeProcessTree ()
int	xmlXIncludeProcessTree		( libxml2-tree.html#xmlNodePtrxmlNodePtr  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.         
        
xmlXIncludeProcessTreeFlags ()
int	xmlXIncludeProcessTreeFlags	( libxml2-tree.html#xmlNodePtrxmlNodePtr  tree, 					 int flags)Implement the XInclude substitution for the given subtree
tree: a node in an XML document flags: a set of libxml2-parser.html#xmlParserOptionxmlParserOption  used for parsing XML includes Returns: 0 if no substitution were done, -1 if some processing failed or the number of substitutions done.         
        
xmlXIncludeSetFlags ()
int	xmlXIncludeSetFlags		( libxml2-xinclude.html#xmlXIncludeCtxtPtrxmlXIncludeCtxtPtr  ctxt, 					 int flags)Set the flags used for further processing of XML resources.
ctxt: an XInclude processing context flags: a set of libxml2-parser.html#xmlParserOptionxmlParserOption  used for parsing XML includes Returns: 0 in case of success and -1 in case of error.         
      
    
  
