[xsl] Namespaces abort the nodematching

Subject: [xsl] Namespaces abort the nodematching
From: "Kai Lienemann" <klienema@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jul 2003 19:23:10 +0200
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


Current Thread