|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Namespaces and For-each
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








