dcsimg
XSLT sorting and filtering (? for XSLT Guru ;)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Damir_Aysin
Posted On:   Monday, February 11, 2002 12:34 AM

Hi All! I have xml-document:         0001      Abc            0002      Zeg            0003      xRet            0004      Efrat            0005      Ahet    Is it possible to make 1 (one) complex XSLT, and sort this xml-document by "id" or "name" ( xsl:sort select   More>>

Hi All!



I have xml-document:




  

     0001

     Abc

  


  

     0002

     Zeg

  


  

     0003

     xRet

  


  

     0004

     Efrat

  


  

     0005

     Ahet

  








Is it possible to make 1 (one) complex XSLT, and sort this xml-document by "id" or "name" ( xsl:sort select="id"... ), and the same time show only 2 first(last) elements ( xsl:for-each select="dealers/dealer[position()<3] )?




Thank You,

Damir

   <<Less

Re: XSLT sorting and filtering (? for XSLT Guru ;)

Posted By:   Anonymous  
Posted On:   Tuesday, February 12, 2002 10:00 AM

This should do the job :



























Regards,


Günther.

http://www.javacoding.net

About | Sitemap | Contact