David Thielen schreef:

Hi all;

Well, after getting through the Microsoft SpreadsheetML xml format, I’ve found two things I think dom4j could really use.

   1. Apparently you can state that white space and cr/lf are part of
      an element and need to be preserved. So <Data><Font>hi
      there</Font></Data> is different from <Data> <Font>hi
      there</Font> </Data>. And in this case, there needs to be:
         1. A way to create these nodes initially with the spacing.
         2. A way to make sure that any XMLWriter type class preserves
            it exactly.

If I'm not mistaken, the XMLWriter supports the xml:space attribute. If you have an element where the white space should be preserved, you can add the xml:space="preserve" to your element

regards,
Maarten



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to