[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

preceding axis and context switching (was re: configur

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
axis context
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.