xsl-list
[Top] [All Lists]

Re: use-when attribute?

2004-12-18 06:27:13

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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>