-user] Two suggested improvements for dom4j
Just to make sure that nobody tries to implement the previous code.
The previous code created objects directly which bypasses the dom4j
factory and caching mechanisms. Instead of doing it that way, make
sure to always use a 'factory' method
Just to make sure that nobody tries to implement the previous code.
The previous code created objects directly which bypasses the dom4j
factory and caching mechanisms. Instead of doing it that way, make
sure to always use a 'factory' method to create objects:
*
Document doc = DocumentHelper.crea
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 hi
there is different
Edwin Dankert
Sent: Monday, December 13, 2004 11:14 AM
To: David Thielen
Cc: [EMAIL PROTECTED]
Subject: Re: [dom4j-user] Two suggested improvements for dom4j
You create your document in memory ???
If this is the case, you can use text to
correctly format your text and use different
output formats to c
Cc: [EMAIL PROTECTED]
Subject: Re: [dom4j-user] Two suggested improvements for dom4j
Hello David,
As far as I know, this functionality is already available ...
> 1. Apparently you can state that white space and cr/lf are part of an
> element and need to be preserved. So hi here
> is differen
Hello David,
As far as I know, this functionality is already available ...
> 1. Apparently you can state that white space and cr/lf are part of an
> element and need to be preserved. So hi here
> is different from hi there. And in
> this case, there needs to be:
>
> a. A way to create these
You create your document in memory ???
If this is the case, you can use text to
correctly format your text and use different
output formats to change the way the output
is written.
*
Element data = new DefaultElement( "Data");
Element font = new DefaultElement( "Font");
font.add( new DefaultText( "