Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


AW: Turn XML Schema into sample document using XSLT

From: "Huditsch, Roman \(LNG-VIE\)" <Roman.Huditsch@----------.-->
To: "Florent Georges" <darkman_spam@-----.-->, "Mukul Gandhi" <gandhi.mukul@-----.--->, <xmlschema-dev@---.--->
Date: 7/12/2006 4:57:00 PM
Hi,

I experienced that XMLSpy has quite a few problems with recursive =
structures.
OxygenXML handled these cases correctly.
I suppose that writing some stylesheets for a generic sample document =
generation will get very complex. You would need to pass the name of the =
root element as a stylesheet parameter, since it is sometimes not =
possible to detect it from the schema structure.
The stylesheet must also take care to not run into infinite recursions.
It would be quite a challenge to write such an XSLT...

best regards,
Roman

> -----Urspr=FCngliche Nachricht-----
> Von: xmlschema-dev-request@w... 
> [mailto:xmlschema-dev-request@w...] Im Auftrag von Florent Georges
> Gesendet: Mittwoch, 12. Juli 2006 14:49
> An: Mukul Gandhi; xmlschema-dev@w...
> Cc: Lev S. Pliner
> Betreff: Re: Turn XML Schema into sample document using XSLT
> 
> 
> Mukul Gandhi wrote:
> 
>   Hi
> 
> > After some googling, it seems there is no such project. But 
> tools like 
> > XMLSpy can do this nicely.
> 
> > Do you specifically need XSLT stylesheet only?
> 
>   XMLSpy does it for very simple cases, if I remember right.  
> For more complex cases, like inheritance and abstract 
> elements, ID and IDREFS, coocurrence constraints, etcetera, I 
> think there is no support at all.
> 
>   Of course you can write an XSLT script to transform its 
> result to what you want, but I guess having a set of 
> stylesheets could be interesting to import in new, local, 
> simple generators.
> 
>   Regards,
> 
> --drkm
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> =09
> =09
> 	=09
> ______________________________________________________________
> _____________
> Yahoo! Mail r=E9invente le mail ! D=E9couvrez le nouveau Yahoo! 
> Mail et son interface r=E9volutionnaire. 
> http://fr.mail.yahoo.com
> 
> 

From bcha@c... Thu Jul 13 14:01:26 2006
Received: from lisa.w3.org ([128.30.52.41])
	by frink.w3.org with esmtp


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