Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Declaring namespace prefix in result of transformation Declaring namespace prefix in result of transformationTo: NULL Date: 2/12/2009 6:38:00 PM Hi,
I need to extract the list of complex types from (any) XML schema and save
it in an appopriate XML with this structure (fragment represents a single
item of the list):
<Property name="ParameterItemDef">
<Value xsi:type="xs:QName">tns:ParameterItemDef</Value>
</Property>
where ParameterItemDef is the name of the complex type in schema. What I
can't figure out is how to bind "tns" prefix to the targetNamespace of the
input schema (how to dynamically create xmlns attribute).
XSLT 1.0 is preferred. However, XSLT 2 way would also be welcome.
--
Alex Yackimoff
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
