Hi Axel, You can use something like following:
<xsl:sort select="child::node()[name()=$order]"/> Best regards Roman Axel Honfi wrote: > Hi! > > I passed a parameter to a stylesheet and I can get the value with > <xsl:value-of select="$order-by"/>. > > But I need to sort data by the value of the parameter like > > <xsl:sort select="$order-by" order="ascending"/>. > > But with this nothing happens and all other forms I tried also failed. > > Does anyone know how to work this? > > Thanks a lot > > Axel > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>