Title: Re: [dom4j-user] Creating A New XML By Reading XPath
I created a similar app last year, I used XML Schema to define the documents then walked to schema using business rules to determine which elements to add, choices to follow etc.
 
http://www.w3.org/XML/Schema
 
Robert
 


From: [EMAIL PROTECTED] on behalf of Edwin Dankert
Sent: Tue 22/02/2005 16:17
To: Jojy Varghese
Cc: dom4j-user@lists.sourceforge.net
Subject: Re: [dom4j-user] Creating A New XML By Reading XPath

I think dom4j might be a very good choice for this.

You could use it to:
- read in the layout document,
- create a new document,
- get the layout element + xpath,
- add elements based on xpath to the new document,
- format and save the new document.

and more...

Regards,
Edwin


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to