[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSD to XML, but 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|