diff --git a/ChangeLog b/ChangeLog index d658c57c..162a241d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu May 3 13:10:43 CEST 2001 Daniel Veillard + + * configure.in doc/xml.html doc/html/*: preparing for 2.3.8 + release, updated and regenerated the docs + Thu May 3 12:47:46 CEST 2001 Daniel Veillard * xpath.c result/XPath/expr/floats : clarified and cleanup diff --git a/configure.in b/configure.in index 64775d2c..023d007d 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,7 @@ AC_CANONICAL_HOST LIBXML_MAJOR_VERSION=2 LIBXML_MINOR_VERSION=3 -LIBXML_MICRO_VERSION=7 +LIBXML_MICRO_VERSION=8 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION diff --git a/doc/html/book1.html b/doc/html/book1.html index d865928d..6794bf9e 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -146,6 +146,11 @@ HREF="libxml-uri.html" > —
xmlerror
HTMLparser
- + @@ -306,6 +306,7 @@ + @@ -413,6 +414,16 @@ + + + + + + + + + + @@ -451,6 +462,7 @@ + @@ -714,6 +726,7 @@ + diff --git a/doc/html/libxml-debugxml.html b/doc/html/libxml-debugxml.html index b818a8ff..5a53f135 100644 --- a/doc/html/libxml-debugxml.html +++ b/doc/html/libxml-debugxml.html @@ -121,7 +121,7 @@ NAME="LIBXML-DEBUGXML" >

Name

Synopsis

Description

Details

output: :str: :

output: :attr: :depth: :

output: :attr: :depth: :

output: :node: :depth: :

output: :node: :depth: :

output: :node: :depth: :

output: :doc: :

output: :doc: :

output: :doc: :

output: :doc: :

output: :node: :

prompt: :



ctxt: :arg: :node: :node2: :

doc: :filename: :input: :output: :

Name

Synopsis

Description

Details


out: :outlen: :in: :inlen: :

out: :outlen: :in: :inlen: :





handler: :

enc: :

name: :

name: :alias: :

alias: :

alias: :


name: :

enc: :

in: :len: :

handler: :out: :in: :

handler: :out: :in: :

handler: :out: :in: :

handler: :

out: :outlen: :in: :inlen: :

out: :outlen: :in: :inlen: :

utf: :

utf: :

Name

Synopsis

Description

Details






doc: :name: :type: :ExternalID: :SystemID: :content: :

doc: :name: :type: :ExternalID: :SystemID: :content: :

name: :

doc: :name: :

doc: :name: :

doc: :name: :

doc: :input: :

doc: :input: :

doc: :input: :


table: :

table: :

buf: :table: :

buf: :ent: :

Name

Synopsis

Description

Details














tag: :

name: :

value: :

doc: :elem: :

doc: :name: :elem: :

parse an HTML ENTITY references

[68] EntityRef ::= '' Name ';'

[68] EntityRef ::= '&' Name ';'

ctxt: :str: :

parse Reference declarations

[66] CharRef ::= '#' [0-9]+ ';' | -'[66] CharRef ::= '&#' [0-9]+ ';' | +'&x' [0-9a-fA-F]+ ';'

ctxt: :

ctxt: :

cur: :encoding: :sax: :userData: :

cur: :encoding: :

filename: :encoding: :sax: :userData: :

filename: :encoding: :

out: :outlen: :in: :inlen: :

out: :outlen: :in: :inlen: :quoteChar: :

name: :

val: :

Free all the memory used by a parser context. However the parsed -document in ctxt-myDoc is not freed.

ctxt: :

size should be = 4 +> should be >= 4 The value of sax: :user_data: :chunk: :size: :filename: :enc: :

ctxt: :chunk: :size: :terminate: :urixmlerror

Name

Synopsis

HTML_PRESERVE_NODE +#define HTML_PI_NODE htmlDocPtr

Description

Details





HTML_PI_NODE

#define HTML_PI_NODE		XML_PI_NODE


URI: :ExternalID: :

URI: :ExternalID: :

doc: :

doc: :encoding: :

cur: :mem: :size: :

f: :cur: :

filename: :cur: :

buf: :doc: :cur: :

out: :doc: :cur: :

filename: :cur: :encoding: : —
xmlerror
HTMLparser

Name

Synopsis

Description

Details

userData: :filename: :attrib: :owner: :group: :size: :links: :year: :month: :day: :hour: :minute: :

userData: :data: :len: :



URL: :

ctx: :

server: :port: :

URL: :

ctx: :

ctx: :

ctx: :

URL: :

host: :port: :user: :passwd: :type: :

ctx: :URL: :

ctx: :

ctx: :

ctx: :directory: :

ctx: :

ctx: :

ctx: :callback: :userData: :filename: :

ctx: :filename: :the socket for the data connection, or 0 in case of errorthe socket for the data connection, or <0 in case of error


ctx: :callback: :userData: :filename: :

ctx: :dest: :len: :

Name

Synopsis

Description

Details



URL: :

URL: :filename: :contentType: :

URL: :method: :input: :contentType: :headers: :

URL: :contentType: :

ctx: :

ctx: :

ctx: :dest: :len: :

ctxt: :filename: :

ctx: :Param1: :struct xmlParserNodeInfo { const struct _xmlNode* node; - /* Position line # that text that created the node begins ends on */ + /* Position & line # that text that created the node begins & ends on */ unsigned long begin_pos; unsigned long begin_line; unsigned long end_pos; @@ -1795,7 +1795,7 @@ CLASS="PARAMETER" >ctx: :publicId: :systemId: :ctx: :name: :ExternalID: :SystemID: :ctx: :name: :ExternalID: :SystemID: :ctx: :name: :ctx: :name: :ctx: :name: :type: :publicId: :systemId: :content: :ctx: :name: :publicId: :systemId: :ctx: :elem: :name: :type: :def: :defaultValue: :tree: :ctx: :name: :type: :content: :ctx: :name: :publicId: :systemId: :notationName: :ctx: :loc: :ctx: :ctx: :ctx: :name: :atts: :ctx: :name: :ctx: :name: :value: :ctx: :name: :ctx: :ch: :len: :ctx: :ch: :len: :ctx: :target: :data: :ctx: :value: :ctx: :value: :len: :ctx: :msg: :...: :ctx: :msg: :...: :ctx: :msg: :...: :ctx: :ctx: :ctx: :URL: :ID: :context: :in: :len: :in: :len: :cur: :cur: :len: :cur: :len: :cur: :str: :start: :len: :str: :val: :str: :val: :str: :val: :str1: :str2: :str1: :str2: :len: :str1: :str2: :str1: :str2: :len: :str1: :str2: :str: :cur: :add: :cur: :add: :len: :cur: :buffer: :size: :filename: :val: :val: :ctxt: :val: :cur: :buffer: :size: :filename: :ctxt: :ctxt: :sax: :cur: :recovery: :sax: :user_data: :filename: :sax: :user_data: :buffer: :size: :sax: :buffer: :size: :recovery: :sax: :filename: :recovery: :sax: :filename: :filename: :ExternalID: :SystemID: :sax: :ExternalID: :SystemID: :sax: :input: :enc: :doc: :sax: :user_data: :depth: :string: :list: :doc: :sax: :user_data: :depth: :URL: :ID: :list: :ctx: :URL: :ID: :list: :ctxt: :ctxt: :

Free all the memory used by a parser context. However the parsed -document in ctxt-myDoc is not freed.

ctxt: :ctxt: :buffer: :filename: :cur: :len: :result: :ctxt: :name: :result: :ctxt: :name: :value: :size should be = 4 +> should be >= 4 The value of sax: :user_data: :chunk: :size: :filename: :ctxt: :chunk: :size: :terminate: :sax: :user_data: :ioread: :ioclose: :ioctx: :enc: :ctxt: :input: :enc: :ctxt: :node: :seq: :seq: :seq: :node: :ctxt: :info: :f: :URL: :ID: :context: :

Name

Synopsis

Description

Details



c: :

c: :

c: :

c: :

c: :

c: :

c: :

c: :

c: :

p: :

p: :

p: :

\([0-9A-Z]*\)-x\([0-9A-Z]*\)\]/ (((c) = 0x\1) \\ ((c) = 0x\2)) ||/ +>\([0-9A-Z]*\)\]/ (((c) >= 0x\1) \&\& ((c) <= 0x\2)) ||/ and :1,$ s/c: :

c: :

c: :

c: :

c: :

c: :

c: :

c: :

c: :

cur: :

filename: :

buffer: :size: :


URL: :ID: :base: :

ctxt: :enc: :

ctxt: :handler: :

Free all the memory used by a parser context. However the parsed -document in ctxt-myDoc is not freed.

ctxt: :

ctxt: :entity: :

ctxt: :buffer: :

ctxt: :entity: :

ctxt: :input: :

xmlPopInput: the current input pointed by ctxt-input came to an end +>xmlPopInput: the current input pointed by ctxt->input came to an end pop it and return the next char.

ctxt: :

input: :

ctxt: :filename: :

ctxt: :

ctxt: :name: :prefix: :

ctxt: :

ctxt: :prefix: :

ctxt: :

ctxt: :

xmlParseNamespace: parse specific PI '?namespace ...' constructs.

xmlParseNamespace: parse specific PI '<?namespace ...' constructs.

This is what the older xml-name Working Draft specified, a bunch of other stuff may still rely on it, so support is still here as @@ -4676,7 +4676,7 @@ CLASS="PARAMETER" >ctxt: :


ctxt: :

ctxt: :

ctxt: :

parse a value for ENTITY declarations

[9] EntityValue ::= '"' ([^%"] | PEReference | Reference)* '"' | -"'" ([^%'] | PEReference | Reference)* "'"

[9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' | +"'" ([^%&'] | PEReference | Reference)* "'"

ctxt: :orig: :

[10] AttValue ::= '"' ([^"] | Reference)* '"' | -"'" ([^'] | Reference)* "'"

[10] AttValue ::= '"' ([^<&"] | Reference)* '"' | +"'" ([^<&'] | Reference)* "'"

3.3.3 Attribute-Value Normalization: Before the value of an attribute is passed to the application or @@ -5169,7 +5169,7 @@ CLASS="PARAMETER" >ctxt: :


ctxt: :

ctxt: :

parse a CharData section. -if we are within a CDATA section ']]' marks an end of section.

The right angle bracket () may be represented using the string "gt;", -and must, for compatibility, be escaped using "gt;" or a character -reference when it appears in the string "]]" in content, when that +>The right angle bracket (>) may be represented using the string "&gt;", +and must, for compatibility, be escaped using "&gt;" or a character +reference when it appears in the string "]]>" in content, when that string is not marking the end of a CDATA section.

[14] CharData ::= [^]* - ([^]* ']]' [^]*)

[14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)

ctxt: :cdata: :

ctxt: :publicID: :strict: :

Skip an XML (SGML) comment !-- .... -- +>Skip an XML (SGML) comment <!-- .... --> The spec says that "For compatibility, the string "--" (double-hyphen) must not occur within comments. "

[15] Comment ::= '!--' ((Char - '-') | ('-' (Char - '-')))* '--'

[15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'

ctxt: :

ctxt: :

parse an XML Processing Instruction.

[16] PI ::= '?' PITarget (S (Char* - (Char* '?' Char*)))? '?'

[16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'

The processing is transfered to SAX once parsed.

ctxt: :


parse a notation declaration

[82] NotationDecl ::= '!NOTATION' S Name S (ExternalID | PublicID) S? ''

[82] NotationDecl ::= '<!NOTATION' S Name S (ExternalID | PublicID) S? '>'

Hence there is actually 3 choices: 'PUBLIC' S PubidLiteral @@ -5862,7 +5862,7 @@ CLASS="PARAMETER" >ctxt: :


parse !ENTITY declarations

parse <!ENTITY declarations

[70] EntityDecl ::= GEDecl | PEDecl

[71] GEDecl ::= '!ENTITY' S Name S EntityDef S? ''

[71] GEDecl ::= '<!ENTITY' S Name S EntityDef S? '>'

[72] PEDecl ::= '!ENTITY' S '%' S Name S PEDef S? ''

[72] PEDecl ::= '<!ENTITY' S '%' S Name S PEDef S? '>'

[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)

ctxt: :


keyword, instances of that attribute must match the default value.

[ WFC: No in Attribute Values ] +>[ WFC: No < in Attribute Values ] handled in xmlParseAttValuectxt: :value: :


ctxt: :

ctxt: :

ctxt: :tree: :

ctxt: :tree: :

: parse the Attribute list def for an element

[52] AttlistDecl ::= '!ATTLIST' S Name AttDef* S? ''

[52] AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>'

[53] AttDef ::= S Name S AttType S DefaultDecl

ctxt: :


ctxt: :

ctxt: :

ctxt: :

ctxt: :name: :result: :

parse an Element declaration.

[45] elementdecl ::= '!ELEMENT' S Name S contentspec S? ''

[45] elementdecl ::= '<!ELEMENT' S Name S contentspec S? '>'

[ VC: Unique Element Type Declaration ] No element type may be declared more than once

ctxt: :

ctxt: :

parse Reference declarations

[66] CharRef ::= '#' [0-9]+ ';' | -'[66] CharRef ::= '&#' [0-9]+ ';' | +'&x' [0-9a-fA-F]+ ';'

ctxt: :

parse ENTITY references declarations

[68] EntityRef ::= '' Name ';'

[68] EntityRef ::= '&' Name ';'

[ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD @@ -7309,7 +7309,7 @@ CLASS="PARAMETER" >ctxt: :


ctxt: :

ctxt: :

parse a DOCTYPE declaration

[28] doctypedecl ::= '!DOCTYPE' S Name (S ExternalID)? S? -('[' (markupdecl | PEReference | S)* ']' S?)? ''

[28] doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? +('[' (markupdecl | PEReference | S)* ']' S?)? '>'

[ VC: Root Element Type ] The Name in the document type declaration must match the element @@ -7554,7 +7554,7 @@ CLASS="PARAMETER" >ctxt: :


[ WFC: No in Attribute Values ] +>[ WFC: No < in Attribute Values ] The replacement text of any entity referred to directly or indirectly in -an attribute value (other than "lt;") must not contain a .

[ VC: Attribute Value Type ] The attribute must have been declared; the value must be of the type @@ -7647,7 +7647,7 @@ CLASS="PARAMETER" >ctxt: :value: :


parse a start of tag either for rule element or EmptyElement. In both case we don't parse the tag closing chars.

[40] STag ::= '' Name (S Attribute)* S? ''

[40] STag ::= '<' Name (S Attribute)* S? '>'

[ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag.

[44] EmptyElemTag ::= '' Name (S Attribute)* S? '/'

[44] EmptyElemTag ::= '<' Name (S Attribute)* S? '/>'

[ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or @@ -7738,9 +7738,9 @@ empty-element tag.

With namespace:

[NS 8] STag ::= '' QName (S Attribute)* S? ''

[NS 8] STag ::= '<' QName (S Attribute)* S? '>'

[NS 10] EmptyElement ::= '' QName (S Attribute)* S? '/'

[NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>'

ctxt: :

parse an end of tag

[42] ETag ::= '/' Name S? ''

[42] ETag ::= '</' Name S? '>'

With namespace

[NS 9] ETag ::= '/' QName S? ''

[NS 9] ETag ::= '</' QName S? '>'

ctxt: :

[18] CDSect ::= CDStart CData CDEnd

[19] CDStart ::= '![CDATA['

[19] CDStart ::= '<![CDATA['

[20] Data ::= (Char* - (Char* ']]' Char*))

[20] Data ::= (Char* - (Char* ']]>' Char*))

[21] CDEnd ::= ']]'

[21] CDEnd ::= ']]>'

ctxt: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

parse an XML declaration header

[23] XMLDecl ::= '?xml' VersionInfo EncodingDecl? SDDecl? S? '?'

[23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'

ctxt: :

parse an XML declaration header for external entities

[77] TextDecl ::= '?xml' VersionInfo? EncodingDecl S? '?'

[77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>'

Question: Seems that EncodingDecl is mandatory ? Is that a typo ?

ctxt: :


ctxt: :

ctxt: :ExternalID: :SystemID: :





ctxt: :len: :what: :end: :end2: :end3: :

ctxt: :str: :what: :end: :end2: :end3: :

ctxt: :value: :

ctxt: :

ctxt: :value: :

ctxt: :

ctxt: :

ctxt: :value: :

ctxt: :

ctxt: :cur: :len: :

ctxt: :

[67] Reference ::= EntityRef | CharRef

[68] EntityRef ::= '' Name ';'

[68] EntityRef ::= '&' Name ';'

[ WFC: Entity Declared ] the Name given in the entity reference must match that in an entity @@ -10155,8 +10155,8 @@ of the following entities: amp, lt, gt, apos, quot.

[ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity

[66] CharRef ::= '#' [0-9]+ ';' | -'[66] CharRef ::= '&#' [0-9]+ ';' | +'&x' [0-9a-fA-F]+ ';'

ctxt: :

lang: :

ctxt: :len: :

out: :val: :

len: :out: :val: :

ctxt: :

in: :


filename: :encoding: :htmlDefaultSAXHandlerInit (void); void sgmlDefaultSAXHandlerInitdocbDefaultSAXHandlerInit (void);ctx: :ctx: :ctx: :loc: :ctx: :ctx: :ctx: :ctx: :ctx: :ctx: :name: :ExternalID: :SystemID: :ctx: :name: :ExternalID: :SystemID: :ctx: :name: :ctx: :name: :ctx: :publicId: :systemId: :ctx: :name: :type: :publicId: :systemId: :content: :ctx: :elem: :name: :type: :def: :defaultValue: :tree: :ctx: :name: :type: :content: :ctx: :name: :publicId: :systemId: :ctx: :name: :publicId: :systemId: :notationName: :ctx: :ctx: :ctx: :fullname: :value: :ctx: :fullname: :atts: :ctx: :name: :ctx: :name: :ctx: :ch: :len: :ctx: :ch: :len: :ctx: :target: :data: :ctx: :href: :prefix: :ctx: :name: :ctx: :ctx: :nameSpace: :ctx: :href: :prefix: :ctx: :value: :ctx: :value: :len: :

sgmlDefaultSAXHandlerInit ()

docbDefaultSAXHandlerInit ()

void        sgmlDefaultSAXHandlerInit       (void);
void docbDefaultSAXHandlerInit (void);
xmlDocPtr cur); +int xmlSaveFormatFile (const char *filename, + xmlDocPtr cur, + int format); void xmlNodeDump

Description

Details










































scheme: :



size: :

buf: :size: :

buf: :

file: :buf: :

buf: :str: :len: :

buf: :str: :len: :

buf: :str: :

buf: :str: :

buf: :len: :

buf: :len: :

buf: :

buf: :

buf: :

buf: :scheme: :

buf: :

doc: :name: :ExternalID: :SystemID: :

doc: :name: :ExternalID: :SystemID: :

doc: :

cur: :

doc: :href: :prefix: :

node: :href: :prefix: :

cur: :

cur: :

version: :

cur: :

doc: :name: :value: :

node: :name: :value: :

node: :ns: :name: :value: :

cur: :

cur: :

target: :cur: :

target: :cur: :

dtd: :

doc: :recursive: :

doc: :ns: :name: :content: :

doc: :ns: :name: :content: :

ns: :name: :

parent: :ns: :name: :content: :

parent: :ns: :name: :content: :

doc: :content: :

content: :

name: :content: :

doc: :content: :len: :

content: :len: :

doc: :content: :

content: :

doc: :content: :len: :

doc: :name: : the char ref string, starting with # or "# ... ;" the char ref string, starting with # or "&# ... ;"

doc: :name: : the reference name, or the reference string with and ; the reference name, or the reference string with & and ;

node: :recursive: :

node: :doc: :recursive: :

node: :

doc: :

Get the root element of the document (doc-children is a list +>Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).

doc: :

parent: :

node: :

node: :

Set the root element of the document (doc-children is a list +>Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...).

doc: :root: :

cur: :name: :

parent: :cur: :

parent: :cur: :

old: :cur: :

cur: :elem: :

cur: :elem: :

cur: :elem: :

cur: :

first: :second: :

node: :content: :len: :

cur: :

cur: :

tree: :doc: :

list: :doc: :

doc: :node: :nameSpace: :

doc: :node: :href: :

doc: :node: :

node: :ns: :

cur: :

cur: :

node: :name: :value: :

node: :name: :

node: :name: :

node: :ns: :name: :value: :

node: :name: :nameSpace: :

doc: :value: :

doc: :value: :len: :

doc: :list: :inLine: :

doc: :list: :inLine: :

cur: :content: :

cur: :content: :len: :

cur: :content: :

cur: :content: :len: :

cur: :

cur: :

cur: :lang: :

cur: :

cur: :Param2: :

doc: :cur: :

cur: :uri: :

attr: :

node: :

buf: :string: :

buf: :string: :

buf: :string: :

buf: :string: :

doc: :tree: :

cur: :mem: :size: :format: :

cur: :mem: :size: :

out_doc: :doc_txt_ptr: :doc_txt_len: :txt_encoding: :

out_doc: :doc_txt_ptr: :doc_txt_len: :txt_encoding: :format: :

f: :cur: :

f: :doc: :cur: :

filename: :cur: :

xmlSaveFormatFile ()

int         xmlSaveFormatFile               (const char *filename,
+                                             xmlDocPtr cur,
+                                             int format);

Dump an XML document to a file. Will use compression if +compiled in and enabled. If filename is "-" the stdout file is +used. If format is set then the document will be indented on output.

filename : the filename (or URL)
cur : the document
format : should formatting spaces been added
Returns : the number of byte written or -1 in case of failure.


buf: :doc: :cur: :level: :format: :

filename: :cur: :encoding: :

doc: :

doc: :mode: :


mode: :

Name

Synopsis

Description

Details




URI: :base: :

URI: :

uri: :str: :

uri: :

stream: :uri: :

str: :len: : the lenght in bytes to unescape (or = 0 to indicate full string) the lenght in bytes to unescape (or <= 0 to indicate full string)target: :

path: :

str: :

uri: :HTMLparserxmlerror

Name

Synopsis

Description

Details



ctx: :msg: :...: :

ctx: :msg: :...: :








name: :prefix: :

ctxt: :dtd: :name: :PublicID: :SystemID: :

table: :

table: :

buf: :nota: :

buf: :table: :

name: :type: :

content: :

cur: :

buf: :content: :glob: :

ctxt: :dtd: :name: :type: :content: :

table: :

table: :

buf: :table: :

buf: :elem: :

name: :

cur: :

cur: :

ctxt: :dtd: :elem: :name: :ns: :type: :def: :defaultValue: :tree: :

table: :

table: :

buf: :table: :

buf: :attr: :

ctxt: :doc: :value: :attr: :

table: :

table: :

doc: :ID: :

doc: :elem: :attr: :

doc: :attr: :

ctxt: :doc: :value: :attr: :

table: :

table: :

doc: :elem: :attr: :

doc: :attr: :

doc: :ID: :

ctxt: :doc: :

ctxt: :doc: :elem: :

doc: :elem: :name: :value: :

ctxt: :doc: :attr: :

type: :value: :

ctxt: :doc: :nota: :

ctxt: :doc: :dtd: :

ctxt: :doc: :

ctxt: :doc: :

ctxt: :doc: :elem: :

ctxt: :doc: :elem: :

ctxt: :doc: :elem: :attr: :value: :

ctxt: :doc: :

ctxt: :doc: :notationName: :

doc: :name: :

dtd: :elem: :name: :

dtd: :name: :

dtd: :name: :

next in the following ways: -to insert before 'node': xmlValidGetValidElements(node-prev, node, ... -to insert next 'node': xmlValidGetValidElements(node, node-next, ... -to replace 'node': xmlValidGetValidElements(node-prev, node-next, ... -to prepend a child to 'node': xmlValidGetValidElements(NULL, node-childs, -to append a child to 'node': xmlValidGetValidElements(node-last, NULL, ...

pointers to the element names are inserted at the beginning of the array and do not need to be freed.

prev: :next: :list: :max: :

ctree: :list: :len: :max: :

Name

Synopsis

Description

Details

doc: :

Name

Synopsis

xmlDocPtr cur, const char *encoding); +int xmlSaveFormatFileTo (xmlOutputBuffer *buf, + xmlDocPtr cur, + const char *encoding, + int format); void xmlNodeDumpOutput

Description

Details

filename: :

filename: :

context: :buffer: :len: :

context: :



filename: :

filename: :

context: :buffer: :len: :

context: :




enc: :

URI: :enc: :

URI: :enc: :

file: :enc: :

fd: :enc: :

mem: :size: :enc: :

ioread: :ioclose: :ioctx: :enc: :

in: :len: :

TODO: one should be able to remove one extra copy by copying directy -onto in-buffer or in-raw

in: :len: :

in: :len: :buf: :

in: :

filename: :

matchFunc: :openFunc: :readFunc: :closeFunc: :


encoder: :

URI: :encoder: :compression: :

file: :encoder: :

fd: :encoder: :

iowrite: :ioclose: :ioctx: :encoder: :

out: :len: :buf: :

out: :str: :

out: :

out: :

matchFunc: :openFunc: :writeFunc: :closeFunc: :

buf: :cur: :encoding: :

xmlSaveFormatFileTo ()

int         xmlSaveFormatFileTo             (xmlOutputBuffer *buf,
+                                             xmlDocPtr cur,
+                                             const char *encoding,
+                                             int format);

Dump an XML document to an I/O buffer.

buf : an output I/O buffer
cur : the document
encoding : the encoding if any assuming the i/O layer handles the trancoding
format : should formatting spaces been added
Returns : the number of byte written or -1 in case of failure.


buf: :doc: :cur: :level: :format: :encoding: :

buf: :cur: :encoding: :

Name

Synopsis

Description

Details




p: :l: :

Param1: :

...: :

Param1: :...: :

Param1: :

freeFunc: :mallocFunc: :reallocFunc: :strdupFunc: :

freeFunc: :mallocFunc: :reallocFunc: :strdupFunc: :



fp: :

fp: :nr: :


x: :

p: :x: :

x: :

size: :file: :line: :

ptr: :size: :file: :line: :

str: :file: :line: :

Name

Synopsis

Description

Details











obj: :type: :





ctxt: :nargs: :



ctxt: :cur: :





ctxt: :nargs: :

obj: :

val: :

obj: :

obj: :

val: :

node1: :node2: :-2 in case of error 1 if first point second point, 0 if +>-2 in case of error 1 if first point < second point, 0 if that's the same node, -1 otherwise

val: :

val: :

val: :


doc: :

ctxt: :

str: :ctxt: :

str: :ctxt: :

str: :ctxt: :

ctxt: :res: :

str: :

comp: :ctx: :

comp: :

Name

Synopsis

Description

Details



X: :

X: :

typeval: :

x: :





ctxt: :f: :varCtxt: :

ctxt: :file: :line: :no: :

output: :cur: :depth: :

output: :comp: :depth: :

ctxt: :prefix: :ns_uri: :

ctxt: :ns_uri: :

ctxt: :

ctxt: :name: :f: :

ctxt: :name: :ns_uri: :f: :

ctxt: :name: :value: :

ctxt: :name: :ns_uri: :value: :

ctxt: :name: :

ctxt: :name: :ns_uri: :

ctxt: :

ctxt: :name: :

ctxt: :name: :ns_uri: :

ctxt: :

str: :ctxt: :

ctxt: :

ctxt: :

ctxt: :value: :

val: :

val: :

val: :

val: :

val: :

val: :

cur: :val: :

cur: :val: :

set: :

ctxt: :nargs: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

str: :

ctxt: :res: :


ctxt: :nargs: :

ctxt: :

val: :

val1: :val2: :

cur: :val: :

cur: :val: :

obj: :

val: :

val: :

obj: :

obj: :

doc: :

ctxt: :

ctxt: :

arg1 < arg2arg1 = <= arg2arg1 > arg2arg1 = >= arg2 (0, 0, ...

When neither object to be compared is a node-set and the operator is -=, , =, , then the objects are compared by converted both objects -to numbers and comparing the numbers according to IEEE 754. The +<=, <, >=, >, then the objects are compared by converted both objects +to numbers and comparing the numbers according to IEEE 754. The < comparison will be true if and only if the first number is less than the -second number. The = comparison will be true if and only if the first -number is less than or equal to the second number. The comparison +second number. The <= comparison will be true if and only if the first +number is less than or equal to the second number. The > comparison will be true if and only if the first number is greater than the second -number. The = comparison will be true if and only if the first number +number. The >= comparison will be true if and only if the first number is greater than or equal to the second number.

ctxt
: :inf
: :strict
: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

ctxt: :

name: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :cur: :

ctxt: :nargs: :

ctxt: :nargs: :

ctxt: :nargs: :