xsl-list
[Top] [All Lists]

preceding-sibling including previous node

2005-11-28 07:47:27
xslt 1.0 xpath 1.0

<xsl:template
mact="animals[preceding-sibling::animals[contains(.'pig')]]">

With the above how would you:

Select all preceding-siblings where node text contains
pig including the line that contains pig.

Is there something you can do with position?



--~------------------------------------------------------------------
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>