This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: data-type/order parameters msxml
- To: HEJQ (Henrik Jørgensen) <HEJQ at novo dot dk>
- Subject: Re: data-type/order parameters msxml
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Tue, 12 Sep 2000 19:30:34 +0100
- Cc: "xsl-list (E-mail)" <xsl-list at mulberrytech dot com>
- Reply-To: xsl-list at mulberrytech dot com
Henrik,
>I have a template that I use the MSXML(July) component to process. Is it
>possible to use parameters in the data-type and order attributes in the
>xsl:sort elements?
Yes you can. All the attributes on xsl:sort aside from 'select' (so
including order and data-type) can take attribute value templates, so you
can do something like:
<xsl:sort order="{$order}" data-type="{$data-type}" />
to use parameters. I have tested with MSXML (July) and it does indeed work.
I hope that helps,
Jeni
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list