|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: current context preceding-sibling then following-
Karl Stubsjoen wrote:
the context of the following-sibling following a preceding-sibling should result you in the context of the current sibling? It depends. Note: The short of it is, I am comparing the preceding-sibling with the current. The preceding-sibling must contain the code "XYZ" when the current contains the code "WXY".
Will get you a 2, not a 3 as you might expect. If in doubt, use a position predicate <xsl:value-of select=" /foo/bar[@id='3']/preceding-sibling::bar[1] /following-sibling::bar[1]"/> J.Pietschmann
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








