Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: A very confused noob has a question.

From: MukulGandhi@-----------.---------.---
To: NULL
Date: 5/4/2006 10:11:00 PM

It seems the namespace is coming from your source XML.

Following could be one way to suppress the namespace in the output

<xsl:template match="ordereditems">
  <ordereditems>
    <xsl:copy-of select="@*" />
    <xsl:apply-templates />
  </ordereditems>
</xsl:template>
 
Regards,
Mukul

"supranoob" wrote:

> Thanks! That really helped. It sure is deceptively simpler tahn I 
> thought. I was going about it in a much more of a mangled way.
> 
> I have another question. If I have this template in another context, 
> justas an example.
> 
>  <xsl:template match="ordereditems">
>  	<xsl:copy-of select="self::node()"/>
>  </xsl:template>
> 
> I get as I would think the node and all of it's little kiddies. However, 
> there is now a namespace in the 'ordereditems' node that reads 
> 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'. Where is this 
> coming from? Is there a way t o turn it off or control it somehow?
> 
> Thanks all,
> J


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