--- embedaddon/libxml2/doc/html/libxml-xmlwriter.html 2012/02/21 23:37:59 1.1.1.1 +++ embedaddon/libxml2/doc/html/libxml-xmlwriter.html 2014/06/15 19:53:36 1.1.1.3 @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underli Module xmlwriter from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlwriter from libxml2

API Menu
API Indexes
Related links

text writing API for XML

Table of Contents

#define xmlTextWriterWriteDocType
#define xmlTextWriterWriteProcessingInstruction
Structure xmlTextWriter
struct _xmlTextWriter + Module xmlwriter from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlwriter from libxml2

API Menu
API Indexes
Related links

text writing API for XML

Table of Contents

#define xmlTextWriterWriteDocType
#define xmlTextWriterWriteProcessingInstruction
Structure xmlTextWriter
struct _xmlTextWriter The content of this structure is not made public by the API.
Typedef xmlTextWriter * xmlTextWriterPtr
 
void	xmlFreeTextWriter		(xmlTextWriterPtr writer)
@@ -34,6 +34,7 @@ The content of this structure is not made public by th
int	xmlTextWriterFullEndElement	(xmlTextWriterPtr writer)
int	xmlTextWriterSetIndent		(xmlTextWriterPtr writer, 
int indent)
int	xmlTextWriterSetIndentString	(xmlTextWriterPtr writer, 
const xmlChar * str)
+
int	xmlTextWriterSetQuoteChar	(xmlTextWriterPtr writer, 
xmlChar quotechar)
int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)
int	xmlTextWriterStartAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)
int	xmlTextWriterStartCDATA		(xmlTextWriterPtr writer)
@@ -139,7 +140,9 @@ The content of this structure is not made public by th

Set indentation output. indent = 0 do not indentation. indent > 0 do indentation.

writer:the xmlTextWriterPtr
indent:do indentation?
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterSetIndentString

int	xmlTextWriterSetIndentString	(xmlTextWriterPtr writer, 
const xmlChar * str)

Set string indentation.

-
writer:the xmlTextWriterPtr
str:the xmlChar string
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterStartAttribute

int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)
+
writer:the xmlTextWriterPtr
str:the xmlChar string
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterSetQuoteChar

int	xmlTextWriterSetQuoteChar	(xmlTextWriterPtr writer, 
xmlChar quotechar)
+

Set the character used for quoting attributes.

+
writer:the xmlTextWriterPtr
quotechar:the quote character
Returns:-1 on error or 0 otherwise.

Function: xmlTextWriterStartAttribute

int	xmlTextWriterStartAttribute	(xmlTextWriterPtr writer, 
const xmlChar * name)

Start an xml attribute.

writer:the xmlTextWriterPtr
name:element name
Returns:the bytes written (may be 0 because of buffering) or -1 in case of error

Function: xmlTextWriterStartAttributeNS

int	xmlTextWriterStartAttributeNS	(xmlTextWriterPtr writer, 
const xmlChar * prefix,
const xmlChar * name,
const xmlChar * namespaceURI)

Start an xml attribute with namespace support.