[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] XPath preceding

Subject: [xsl] XPath preceding
From: "Rick Quatro" <rick@xxxxxxxxxxxxxx>
Date: Mon, 9 Apr 2012 11:09:16 -0400


I am trying to find a particular element that is anywhere before the current
element like this:


This works if the two elements have the same parent, but I want to match an
element anywhere before the current element. For example, if the context is
the <case-cite-2nd> element, I want to find a <case-cite> element anywhere
in the structure previous to the <case-cite-2nd> element.


Thanks in advance.

Rick Quatro
Carmen Publishing Inc.
*** 585-283-5045 *** NEW NUMBER

Current Thread