Hello all
I am trying to transform a document which uses several namespace prefixes.
Something like:-
<pr1:element1>
<pr2:element2>
<my-element>
etc
I have a template which matches "/" and within that I'm trying to do
<xsl:for-each select="//my-element">
This never selects any elements. In contrast, if I have a series of
templates matching "/", "*" and "my-element" with each of the doing an
apply-templates, I *do* select the "my-element".
Can anyone tell me if this is to be expected? If so, why?
I'm using lotusxsl_0_19_2 (which is Xalan internally I believe).
Thanks in advance
Mike Ball
Consultant
Software AG UK
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|