DOM4j inserting XML strings in a document

wxdqz

New Member
A document is a structure representing an XML.
The XML can change, grow and things can be added to.
One can add nodes ,attributes comments ,or a full XML String(mutiple nodes,nodes with attributes,comments processing instructions .....)

The information can be comming from, for example an XML DB...
The document is the object to use .... accessable later with Xpath ....


Using DOM4J once I've created a document, I seem not to be able to add
more complexer structures branches.... since I CAN NOT PARSE THEM INTO THE DOCUMENT STRUCTURE. This seems a stupid restriction!

Any Idea's how I can add full TEXT structures into anEXISTING DOM Structure??!!!
ofcoarse I can create an other DOM and copy all iems over one by one ...
But this overhead is what creats bugs,.. overhead and inflexibility


Please Share your ideas
 
Back
Top