Re: [xsl] Select Particular Node and All Siblings That Follow?

Subject: Re: [xsl] Select Particular Node and All Siblings That Follow?
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Thu, 19 Apr 2007 11:45:31 +0530
select="descendant::text:h[@text:style-name='p_5f_heading_5f_1'][1]/following-sibling::*"

will select all sibling element nodes of this particular node.


On 4/19/07, Michael B Allen <mba2000@xxxxxxxxxx> wrote:
How do I select a particular node in the middle of the tree *and all of
the siblings that follow it*. So I want to select a node like:

select="descendant::text:h[@text:style-name='p_5f_heading_5f_1'][1]"

but then I also want all of the siblings that follow it.

Basically I'm trying to cut out everything before that element.

Mike

--
Michael B Allen
PHP Active Directory Kerberos SSO
http://www.ioplex.com/


--
Regards,
Mukul Gandhi

Current Thread