From 112cb5bb5475afec1c1cbf1d6728ce4880d0fee8 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 12 Jul 2005 19:58:48 +0000 Subject: Load /tmp/tmp.zfIyNk/libxml2-2.6.20 into packages/libxml2/branches/upstream/current. --- doc/html/libxml-valid.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/libxml-valid.html') diff --git a/doc/html/libxml-valid.html b/doc/html/libxml-valid.html index d02b327..8ec2c68 100644 --- a/doc/html/libxml-valid.html +++ b/doc/html/libxml-valid.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module valid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module valid from libxml2

API Menu
API Indexes
Related links

API for the DTD handling and the validity checking

Table of Contents

#define XML_CTXT_FINISH_DTD_0
#define XML_CTXT_FINISH_DTD_1
Structure xmlAttributeTable
struct _xmlHashTable + Module valid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module valid from libxml2

API Menu
API Indexes
Related links

API for the DTD handling and the validity checking

Table of Contents

#define XML_CTXT_FINISH_DTD_0
#define XML_CTXT_FINISH_DTD_1
Structure xmlAttributeTable
struct _xmlHashTable The content of this structure is not made public by the API.
Typedef xmlAttributeTable * xmlAttributeTablePtr
 
Structure xmlElementTable
struct _xmlHashTable @@ -72,8 +72,8 @@ The content of this structure is not made public by the API.
xmlValidCtxtPtr	xmlNewValidCtxt		(void)
int	xmlRemoveID			(xmlDocPtr doc, 
xmlAttrPtr attr)
int	xmlRemoveRef			(xmlDocPtr doc, 
xmlAttrPtr attr)
-
void	xmlSnprintfElementContent	(char * buf, 
int size,
xmlElementContentPtr content,
int glob)
-
void	xmlSprintfElementContent	(char * buf, 
xmlElementContentPtr content,
int glob)
+
void	xmlSnprintfElementContent	(char * buf, 
int size,
xmlElementContentPtr content,
int englob)
+
void	xmlSprintfElementContent	(char * buf, 
xmlElementContentPtr content,
int englob)
int	xmlValidBuildContentModel	(xmlValidCtxtPtr ctxt, 
xmlElementPtr elem)
xmlChar *	xmlValidCtxtNormalizeAttributeValue	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)
int	xmlValidGetPotentialChildren	(xmlElementContent * ctree, 
const xmlChar ** list,
int * len,
int max)
@@ -224,11 +224,11 @@ The content of this structure is not made public by the API.

Remove the given attribute from the ID table maintained internally.

doc:the document
attr:the attribute
Returns:-1 if the lookup failed and 0 otherwise

Function: xmlRemoveRef

int	xmlRemoveRef			(xmlDocPtr doc, 
xmlAttrPtr attr)

Remove the given attribute from the Ref table maintained internally.

-
doc:the document
attr:the attribute
Returns:-1 if the lookup failed and 0 otherwise

Function: xmlSnprintfElementContent

void	xmlSnprintfElementContent	(char * buf, 
int size,
xmlElementContentPtr content,
int glob)
+
doc:the document
attr:the attribute
Returns:-1 if the lookup failed and 0 otherwise

Function: xmlSnprintfElementContent

void	xmlSnprintfElementContent	(char * buf, 
int size,
xmlElementContentPtr content,
int englob)

This will dump the content of the element content definition Intended just for the debug routine

-
buf:an output buffer
size:the buffer size
content:An element table
glob:1 if one must print the englobing parenthesis, 0 otherwise

Function: xmlSprintfElementContent

void	xmlSprintfElementContent	(char * buf, 
xmlElementContentPtr content,
int glob)
+
buf:an output buffer
size:the buffer size
content:An element table
englob:1 if one must print the englobing parenthesis, 0 otherwise

Function: xmlSprintfElementContent

void	xmlSprintfElementContent	(char * buf, 
xmlElementContentPtr content,
int englob)

Deprecated, unsafe, use xmlSnprintfElementContent

-
buf:an output buffer
content:An element table
glob:1 if one must print the englobing parenthesis, 0 otherwise

Function: xmlValidBuildContentModel

int	xmlValidBuildContentModel	(xmlValidCtxtPtr ctxt, 
xmlElementPtr elem)
+
buf:an output buffer
content:An element table
englob:1 if one must print the englobing parenthesis, 0 otherwise

Function: xmlValidBuildContentModel

int	xmlValidBuildContentModel	(xmlValidCtxtPtr ctxt, 
xmlElementPtr elem)

(Re)Build the automata associated to the content model of this element

ctxt:a validation context
elem:an element declaration node
Returns:1 in case of success, 0 in case of error

Function: xmlValidCtxtNormalizeAttributeValue

xmlChar *	xmlValidCtxtNormalizeAttributeValue	(xmlValidCtxtPtr ctxt, 
xmlDocPtr doc,
xmlNodePtr elem,
const xmlChar * name,
const xmlChar * value)

Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by single space (#x20) character. Also check VC: Standalone Document Declaration in P32, and update ctxt->valid accordingly

-- cgit v1.2.3