Hi,

I switched from XSL to DOM4J/Java because the XSL scripts were
becoming too complex. It's a lot easier to build the transformation logic
in Java!

But .... now I have another problem: I have to write a lot of 
addElement/addAttribute calls to build XML nodes, whereas
in XSL I could use XML syntax. 

If it were possible to use the XML syntax in Java, then I would 
have the best of two worlds! It would be great if we could write 
code like:

    myElement.addXml("<node1 name='hello'><node2/></node1>");

The xml code would be parsed, and added as child elements to myElement.

Is this already possible? Would it be difficult to implement?

Silvain



_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to