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

[xsl] preceding axis and context switching (was re: configuring conditionals)


Subject: [xsl] 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
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor