[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: tag case conversion problems again
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 23 Jan 2001 22:47:43 +0100
"Snyder, Christopher" wrote:
> 
>       <!-- Including any attributes it has and any child nodes -->
>       <xsl:apply-templates/>

Your comment doesn't match your apply-templates ;) ...

<xsl:apply-templates/> is a shortcut for
<xsl:apply-templates match="node()"/> or
<xsl:apply-templates match="*|text()"/>

and what you want is:

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

Eric
-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member