Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Turn XML Schema into sample document using XSLT [Thread Next] AW: Turn XML Schema into sample document using XSLTTo: "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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
