This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to convert one xml into different dtd xml

 
Isha Saini
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a requirement, where, I have a dtd xml, and want to convert that xml file into different xml file with different dtd. Please suggest, how it can be achieved?
For e.g.
convert

<item name="test">
<prop name="prop1" derived="prop2">
</item>

to

<entity name="test">
<property name="prop1">
<property name="prop2">
</entity>

Both xmls have different dtds, How may I achieve this? Is there any tool, I may use to ease my work. Please help.

Regards,
Isha Saini
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The usual way to transform XML into some other XML would be to use XSLT (XSL Transformations). That either XML conforms to some DTD really doesn't figure into it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic