You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Rick Stevens <ri...@us.ibm.com> on 2001/01/19 00:04:58 UTC
Selecting elements from a particular namespace
I need a template that will match elements from a particular namespace.
Can anyone tell me
what the XPath syntax or pattern syntax for this is?
For example in a default namespace case I can select an element with a
particular attribute using:
<xsl:template match="/mydoc/myelement[@myattr='somevalue']">
How can I modify this to match only <mynamespace:mydoc>?
Thanks,
Rick Stevens
AT & T