[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSD to XML, but using XSL


xsd to xml using xsl
Hi Carlo,

The close to what you want that I know of is the XS3P schema 
documentation stylesheet [1]. You can generate documentation for a 
schema and look at the schema instance representation that it generates, 
you can find an example here [2]. I think it should be possible to start 
from that and generate only an instance starting from your desired root 
element. The XS3P stylesheet is quite complex though...

[1] http://titanium.dstc.edu.au/xml/xs3p/
[2] 
http://titanium.dstc.edu.au/xml/xs3p/examples/po.xsd.html#element_purchaseOrder

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Carlo Garcia-Mier wrote:
> Hi All
>  
> Is it possibly to generate a XML file from an XSD schema using XSL/T.
>  
> I have attempted this but can't seem to figure out how to dive into (or 
> expand) complexTypes which are referenced from other included/imported 
> XSD files. But thats besides the point.
>  
> I am just hoping such an "XSL/T" allready exists.
>  
> Thanks,
>  
> Carlo
>  

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.