This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

convert XMLs with different .xsd

 
Harris Tanu
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm in rush to learn way to convert XML files from one schema to XML files of different schema.
To simplify it:
abc.xml of (abc.xsd) convert to cde.xml of (cde.xsd)

I have just known that XSLT is able to convert xml from one format to another format. But so far I do not see it make uses of .xsd file.

Does it simply convert one xml file to another as specified in the .xsl stylesheet? It means, the programmer must take care of proper stylesheet without being verified by .xsd schema?
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know there is no way to force an XSL transformation's output to conform to a particular schema at the time of transformation. Except by correct programming, of course. As far as I know your only way to check that is by running the output through a validating parser after it's been produced.
 
Harris Tanu
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi thanks..

I just know there is a tool to help the conversion:
Altova Mapforce.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic