Hello group.
I am new to this group and first of all want to congratulate all for
the good work. Now coming to my question. I am trying to create a "XML
Layout Schema" where you can define the layout of diffeerent elements
in an XML as XML itself. For example if we want the output as :
<Organization>
<Departments>
<Department>
</name>
</Employees>
</Department>
</Departments>
</Organization>
The schema would be something like:
<XMLLayout>
<Elements>
<Element>
<name>Organization</name>
<path> // </path>
</Element>
<Element>
<name>Departments</name>
<path> //Organization </path>
</Element>
...
...
<Elements>
</XMLLayout>
As you can see, a driver can look at the layout and create
the output XML. Now i am wondering how much help I can get from DOM4j
to do this. I know we can create elements on the fly but can we create
elements and tie them to the xpath ????
Any help is appreciated.
Thanks
Jojy
--
Jojy G Varghese
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dom4j-user