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

Re: use-when attribute?

Subject: Re: use-when attribute?
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Sat, 18 Dec 2004 08:27:13 -0500
Re:  use-when attribute?
On Dec 18, 2004, at 8:13 AM, Michael Kay wrote:

I would be inclined to do it with template rules:

[... snip ...]


... But perhaps I haven't understood the problem.

In layperson's terms (because I may hack the technical terminology!), I need to get a list of all the citation references in a document to use for processing (querying a database, etc.), but I want the specific form those citations are in to be flexible.


Put differently, I want to be able to easily add support for different input document types. Elsewhere in the stylesheets -- where I actually format the citations -- I can just use xsl:choose to figure out what to do.

It seems from Geert's explanation, the keys would be more efficient than the example I posted. I don't really understand how that'd compare to the template rules suggestion here.

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.