This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Efficiency, use param in key?
- From: Christopher_Dant at jackmorton dot com
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 3 Aug 2002 12:31:39 -0700
- Subject: Re: [xsl] Re: Efficiency, use param in key?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Dimitre:
Thanks for your time and suggestions - I've been subscribed to and
following this for a couple of years and find it among the best I've ever
seen! I rarely post because I try to RTFM first, read the great books
written by Jeni and others and use the FAQ and web and find my questions
are nearly always answered.
> 1. Avoid expressions like "//file_audio"
<file_audio> appears in quite a number of different contexts and I expect
those to change over time. So if I don't want to enumerate those contexts
in my stylesheet it seems I am stuck with it. The good news is this would
only be used infrequently as part of an inventory check, to make sure all
needed files are present before publishing a course.
> 2. <xsl:text disable-output-escaping="yes">
</xsl:text>
> ^^^^^^^^^^
> This seems strange to me.
Seems strange to me too! Must be a "think-o" (as opposed to a typo).
> The "match" attribute of xsl:key and xsl:template cannot contain
> variable references -- this is said in order to prevent circular
> definitions, as global variables can be defined using the key()
> function or xsl:apply-templates. Due to the same reason the "use"
> attribute of xsl:key cannot contain variable references.
Thank you - I understand the limitation now.
Chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list