wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes Generate an xsl from xsd/xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Generate an xsl from xsd/xml" Watch "Generate an xsl from xsd/xml" New topic
Author

Generate an xsl from xsd/xml

vinitha simon
Ranch Hand

Joined: Dec 13, 2007
Posts: 64
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
Bartender

Joined: Oct 14, 2005
Posts: 18651
    
    8

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

Joined: Dec 13, 2007
Posts: 64
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
Bartender

Joined: Oct 14, 2005
Posts: 18651
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate an xsl from xsd/xml