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

Generate an xsl from xsd/xml

 
vinitha simon
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to know how to generate an xsl from an xsd or a sample xml.

Any help is appreciated!

TIA
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to do that?

Let me clarify: so you have an XML document containing the details of (say) a business loan. And you have a schema which describes that document. What would this generated XSL document do? I don't get it at all.
 
vinitha simon
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The application has an existing service to parse the xml document, In order to use the existing service, I have to provide the xsl, rng and xsd. I have the xsd, and rng, I'm quite unsure how to create the xsl....

Thanks in advance...

 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that isn't surprising because you don't seem to know the rules for creating it. You won't be able to do anything until you find out the rules. Just from your example I don't even see why an XSL is required, let alone what it's supposed to do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic