[Home] [By Thread] [By Date] [Recent Entries]

Subject: preceding axis and context switching (was re: configuring conditionals)
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Wed, 25 May 2005 04:02:25 -0400
Wendell wrote:

At 02:24 PM 5/24/2005, I wrote:
So if test="count(../db:citation = 1) and @linkend = preceding::db:citation[1]/@linkend", or something along those lines.

Of course you'll have to fix the typo. (I must be channeling DC. ;-)

Got it. But what if I need to use this is another template, where I again have to switch context to the $cite-ref parameter (as element())? Am not sure how to do that with the preceding axis bit.


Bruce

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member