Re: [xsl] Modifying select attribute values in XHTML

Subject: Re: [xsl] Modifying select attribute values in XHTML
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 17 Aug 2006 16:05:38 -0400
Brook,

Take this:

At 01:20 PM 8/17/2006, you wrote:
<xsl:template match="xhtml/*">
  <xsl:copy>
 <xsl:copy-of select="@*[not(name()='src' or name()='href')]"/>
    <xsl:apply-templates select="*"/>
  </xsl:copy>
</xsl:template>

and modify it to match "xhtml//*".


At that point it will match not only children of your xhtml element, but all descendants.

Then you'll be rolling: the rest of your approach looks good.

Regards,
Wendell

Current Thread