Hi Alek:

BTW: to bad that solutoion from XmlPull API did nto survive in StAX i.e. it was intelligent to do <empty/> by default unless you called character("") in between.

+1, that's what Axis 1 does as well.

hmm, i will take a look and see if i can change this for StAX RI - after all infoset is equivalent ...

+1!  That would rock.

writeStartElement("test");
writeAttribute("foo", "bar");
writeEndElement();

<test foo="bar"/>

--Glen

Reply via email to