Re: [xsl] updated namespace difficulty

Subject: Re: [xsl] updated namespace difficulty
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Mon, 17 Feb 2003 12:36:27 -0500
Thanks Roger this was indeed one of my problems. I was blinded by the namespace difficulties and never thought to consider that my copy template was borked.


On Sunday, February 16, 2003, at 03:05 AM, Roger Glover wrote:

I wrote:

S Woodside wrote:
   <xsl:template match="my:form_textarea" priority="1">
   [[xsl:template match="*" priority="-1"]]
     [[xsl:copy-of select="."/]]
Instead of your commented-out template, try this one:

<xsl:template match="*|@*">
        <xsl:apply-templates select="*|@*"/>

... which is almost, but not quite, correct. The <xsl:apply-templates> element should look like this instead:

<xsl:apply-templates select="node()|@*"/>

Unlike my original line, this corrected line will invoke the default
templates for processing instruction nodes, comment nodes, and especially
text nodes.

XSL-List info and archive:

     anti-spam: do not post this address publicly -- 99% Devil, 1% Angel

XSL-List info and archive:

Current Thread