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

Re: [xsl] copy of specific elements


Subject: Re: [xsl] copy of specific elements
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 18 Aug 2008 12:11:12 +0200 (CEST)

henry human wrote:

> I have following XML file as bellow. The XML file has
> 12 elements.I will copy the last six  <element>
> elements with the XSL stylesheet and display them some
> where else on browser.

    <xsl:template match="/">
       <somewhere>
          <else>
             <xsl:copy-of select="
                 document/elements/element[position() gt 6]"/>
          ...

  Regards,

--drkm
























      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


Current Thread
Keywords