This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: data-type/order parameters msxml


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]