Re: data-type/order parameters msxml

Subject: Re: data-type/order parameters msxml
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Tue, 12 Sep 2000 19:30:34 +0100
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


Current Thread