Subject: [xsl] xpath expression - select first node from last parent From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 29 Jan 2002 11:30:37 -0000 |
Hi, I would like an generic Xpath expression that will match the first child of a parent that is positionally last. For example, using this highly descriptive piece of ascii art: a---a---a---a---a | b---b---b---b ^ All 'b' elements are children of the last 'a' element. I want to be able to recognise when Im at the first b of the last 'a'. Something like: *[position()=1] and parent::*[postion()=last()] combined. cheers andrew === XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Extension Functions writt, Michael Kay | Thread | RE: [xsl] xpath expression - select, Zwetselaar M. van (M |
Re: [xsl] saxon in batch file for l, Jiri Jirat | Date | RE: [xsl] xsl:document, fo output, Bryan Rasmussen |
Month |