Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: [xsl] XSLT to convert to type substitution [xsl] XSLT to convert to type substitutionTo: Date: 12/2/2007 10:53:00 PM Dear colleagues, I have an XML Schema that is being changed to use type substitution instead of substitutionGroups (element substitution). I was wondering if any one can share an XSLT sample that would convert according to examples of old and new document below... Old XML Instance: <xx:Objects> <xx:Element1 ...> ... </xx:Element1 ...> <xx:Element2 ...> ... </xx:Element2 ...> </xx:Objects> New XML Syntax: <xx:Objects> <xx:Object xsi:type="xx:Element1" ...> ... </xx:Object ...> <xx:Object xsi:type="xx:Element2" ...> ... </xx:Object ...> </xx:Objects> Thanks for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
