Re: [xml] Preserve Whitespace in Attribute List

On Wed, May 02, 2007 at 02:29:22PM -0400, Dan Ryan wrote:
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.
 <coaches  head="Boehiem"

  No, that's not part of the XML information set.
even the order of attributes is not part of it, though libxml2
tries to preserve it.
I don't know any parser API which would preserve that information.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]