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.
  2. A way to mark an element’s text as final/literal so there is no translation of any character. So you can give the <Data> element the text of <Font>hi there</Font> and it does not change the < to a &lt;, etc.

Thanks - dave

Reply via email to