Hello,

I would like to make "pretty-print" xml using LSSerializer, so a write:

LSSerializer serializer = ...
serializer.getDomConfig().setParameter("format-pretty-print", true);

then I get string with "pretty-print" xml using metod:
serializer.writeToString(... DOMDocument ...));

and the result is:

<a xmlns:z="http://a.com";>
   <b>
      <z:c/>



                      </b>
</a>

whitespaces inside "<b>" tag are not removed (after "<z:c/>" tag). Does
anyone know how to remove this whitespaces?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to