Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] XSD to XML, but using XSL

From: George Cristian Bina <george@---------.--->
To: Carlo Garcia-Mier <enterprise.architecture.dev@----------.--->
Date: 3/4/2006 7:49:00 AM
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
www.---.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
>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent