Hi there! I'm quite new in developing with Xerces, so I even don't know wether I'm in the right list or not. I want to write a generated XML-File using the prettyprint-feature. The only problem I have is that tags containing only whitespaces are written as empty tags; e.g. <mytag> </mytag> results in <mytag />. How can I stop this? (" " is a valid value for <mytag> and should be included in the XML file).
Another question is: How can I escape ampersands? For example, I want to have a tag "mytag" with the value "µg/l". When I write back this string it results in &#181;g/l How can I prevent ampersands being escaped on save? (How can I tell the Writer that I know what I do when I put an ampersand in the tagvalue?:-) ) Greetings Matthias
smime.p7s
Description: S/MIME cryptographic signature