• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

convert XMLs with different .xsd

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi thanks..

I just know there is a tool to help the conversion:
Altova Mapforce.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic