xsl-list
[Top] [All Lists]

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

2007-04-18 23:24:45
That worked perfectly. Thank you.

Mike

On Thu, 19 Apr 2007 11:45:31 +0530
"Mukul Gandhi" <gandhi(_dot_)mukul(_at_)gmail(_dot_)com> wrote:

select="descendant::text:h[(_at_)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(_at_)ioplex(_dot_)com> 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[(_at_)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.

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>