Is it possible to preserve whitespace in an attribute list?
In the example below their are 2 attribute name/value pairs,
each appearing on separate lines.
<team>
 <name>Syracuse</name>
 <coaches  head="Boehiem"
           assist="Fine"/>
</team>

xmlParseMemory
xmlDocGetRootElement
xmlDocDumpMemory or xmlNodeDump
When using libxml2 to load, parse,and dump an XML document
(xmlDocPtr) from memory the output always contains the attributes
on a single line. (e.g. <coaches head="Boehiem" assist="Fine"/> )

Whitespace can be preserved/removed between XML elements,
however can whitespace be preserved within an attribute list?

Thanks........Dan
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to