"rufio" <ruf(number(ten))@op.pl> wrote in message
news:bh**********@news.atman.pl...
Hi all
I have a <xsl:template> that matches an <element>, but i found that this
template doesn't match <element xmlns="URL">.
Why and how to match it?
Why:
The matching is done based on the "expanded name" of the element. The
expanded name is two pieces of information: the "local name" (whatever comes
after the prefix, if there is one, otherwise, just the name), and the
"namespace", which is the URI. In other words, element nodes named
'element'-in-no-namespace are not the same as element nodes named
'element'-in-the-'URL'-namespace.
How:
In your stylesheet, bind the namespace 'URL' to a prefix, and match
thatprefix:element.