On Fri, 18 Feb 2005 13:34:05 -0500, Mike King <em*****@excite.com> wrote:
Ok then won't the following match as a template?
a:child/@a:value
No,
The pattern '@a:value' isn't matched, so the same pattern with an extra
restriction (only 'value' attributes with a 'child' parent) will certainly
not match more.
But you can do this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:s="s" xmlns:w="vv" xmlns:abc="abc"
version="1.0" xmlns:a="http://a/">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="a:root">
<xsl:apply-templates select="a:child/@a:value"/>
</xsl:template>
<xsl:template match="a:child/@a:value ">
match
</xsl:template>
</xsl:stylesheet>
--
Using Opera's revolutionary e-mail client:
http://www.opera.com/m2/