Henri Yandell wrote: > Definitely. > > A guy in Texas contacted me today and might add indentation/newlines to it > [though I also aim to add them if he lacks the time] and having comments > and namespaces would also be pretty easy and nice. hi, you may want to take look on XmlSerializer in XmlPull API (i attach below java interface - it is interface ot make possible one common interface ot different implementation of XML infoset serialization ) XmlSerializer is designed to make working with namespaces output as easy as possible: if you do not declare namespace prefix it will be automatically generated for you but you can always set your preferred prefixes by calling setPrefix(), for example (if you wanted person to be in namespace "http://tempuri.org/" and use prefix "p"): XmlSerializer xs = new XmlSerializerImpl(); xs.setInput (writer); xs.setPrefix("p", "http://tempuri.org/"); //optional xs.startTag("http://tempuri.org/", "person"); xs.attribute("", "name", person.getName()); xs.attribute("", "age", person.getAge()); xs.endTag ("http://tempuri.org/", "person"); xs.flush(); > What's inofset? XML infoset describes in abstract from syntax/more object oriented way what can be expressed in XML 1.0, see: http://www.w3.org/TR/xml-infoset/ > Anyways, aim is to figure out where to be publishing it and evolving it :) sure - that is good idea. if you have comments on XmlSerializer please let me know as well. thanks, alek