|
Subject: Re: [xsl] Replacing default namespace From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Sat, 30 Jun 2007 14:32:22 +0200 |
The root <definitions> tag in the original WSDL has
xmlns:tns="http://tempuri.org/"
Now throughout the document, elements that look like these:
<xs:simpleType name="addrFormat" .../> <service name="SessionsService" .../>
get transformed into these:
<xs:simpleType xmlns:tns="http://tempuri.org/" name="addrFormat"> <service xmlns:tns="http://tempuri.org/" name="SessionsService">
<xsl:template match="*">
<xsl:element name="{name()}" namespace="{namespace-uri()}">
<xsl:apply-templates select="@* | node()"/>
</xsl:element>
</xsl:template>Martin Honnen http://JavaScript.FAQTs.com/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Replacing default namespace, Scott Sauyet | Thread | [xsl] Context node is within a vari, Tristan Stevens |
| RE: [xsl] Context node is within a , Michael Kay | Date | Re: [xsl] Context node is within a , Tristan Stevens |
| Month |