Subject: RE: [xsl] Conditional document merge From: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx> Date: Tue, 28 May 2002 16:18:07 -0500 |
> If I could do something like: > > select="$doca/$varname[position()+1]" > > > > that's > > > select="$doca/*[name()=$varname]/following-sibling::*[1] > > if all your varname elements are siblings, as I think they are. Ah, conceptual problem on my end. I actually need: select="$doca[name()=$varname]/following-sibling::*[1] at the point I'm doing the test, but that works, many thanks. I kept trying to find some way to use "following-sibling" as a prefix to the whole thing, thinking that you don't want to filter to the node matching the name, because then there isn't a following-sibling any more: of course there is; it's an orthogonal axis... XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Conditional document merg, David Carlisle | Thread | [xsl] XSL-FO Java API, Tim Meals |
Re: [xsl] JAXP Saxon Extensions and, Mark R. Diggory | Date | Re: [xsl] <xsl:key> and use attribu, J.Pietschmann |
Month |