Subject: Namespaces and For-each From: "Mike Ball" <Mike.Ball@xxxxxxxxxxxxxxxx> Date: Thu, 24 Feb 2000 16:57:04 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Omitting XML declaration (xt an, Bill Rishel | Thread | Re: Namespaces and For-each, David Carlisle |
Archive status (was: Re: grouping e, XSL-List Owner | Date | Re: Namespaces and For-each, David Carlisle |
Month |