David D. Lucas is right, I have done similar to what he suggested. Except you have to get rid of the formatted printing in the file (with indents and Returns in the XML text) because the interpretation of the end of line that the XMLWriter writes in windows is incorrect. it put a SPACE for me on the next line.
Hope that helps.
Oytun
On 9/29/05, David Thielen <[EMAIL PROTECTED]> wrote:
Hi;
You're right but that's the way MS defined the SpreadsheetML spec. The html
in the node does have to be balanced - but a cr/lf or space around it is
literal so I have to build it myself.
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-----Original Message-----
From: Edwin Dankert [mailto: [EMAIL PROTECTED]]
Sent: Thursday, September 29, 2005 1:38 AM
To: David Thielen
Cc: dom4j-user@lists.sourceforge.net
Subject: Re: [dom4j-user] Keep white space & cr/lf in element text?
> Also, any <>&'" must be left literally in the text.
You cannot have these 'left literally in your text', since the result
does not have to be well-formed. Overwriting the XMLWriter is
the only (not recommended) hack around this.
Regards,
Edwin
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user
--
Oytun Aşkın
[EMAIL PROTECTED]