xsl-list
[Top] [All Lists]

Namespaces abort the nodematching

2003-07-21 10:23:10
Hello,

I have a stylesheet, which searches and Replaces nodenames.
But when I have a file with a namespace-declaration like this

 xmlns="http://www.techfak.uni-bielefeld.de/CVSchema/sopra";

the  nodematching like

<xsl:template match="PHOTO | PHOTO | IMG | FOTO | BILD | BILDCHEN">
<IMAGE oldname="{local-name()}">
<xsl:apply-templates select="@*|node()" />
</IMAGE>
</xsl:template>

doesn't work!!!! Matching attributes works, but not at the nodes! Will I have
to use the namespace-declaration in my stylesheet????

Greetings,

Kai Lienemann

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



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