xsl-list
[Top] [All Lists]

Re: [xsl] Modifying select attribute values in XHTML

2006-08-17 13:09:14
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>