[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Sorting a XML file with XSL


Subject: Re: [xsl] Sorting a XML file with XSL
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Wed, 24 Oct 2007 12:54:07 +0200 (CEST)

Buddhi Dananjaya wrote:

> Finally I got the thing working;
> removed 'data/' from sort element..

  You are right.  The xsl:sort/@select is evaluated in the context of
the node we are applying template to.  In this case the various data
elements, childs of the root element.

  That's the danger of proposing solution without testing them...  My
fault.

  Sorry for the confusion,

--drkm

























      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


Current Thread