I am building a data structure for outputting an xml document that consists exclusively of nested elements EXCEPT for xmlns attributes. I would like to output XML with no attributes EXCEPT for xmlns attributes to the root element.
With noattr=1 the entire document looks great except for the xmlns entries.
With noattr=0 the root element looks great but the rest of the document consists of everything being attributes.
As you can imagine, this is a bit frustrating. Is there a solution to this? Or do I have to learn a new XML module? Thanks in advance for any help you can provide.