Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - RE: A very confused noob has a question. [Thread Next] RE: A very confused noob has a question.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
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
