xsl-list
[Top] [All Lists]

Re: xsl:param xsl:copy-of

2003-04-18 04:35:22
Date: Tue, 15 Apr 2003 09:27:12 +0100
From: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
In-reply-to: 
<E392EEA75EC5F54AB75229B693B1B6A70E2732(_at_)esebe018(_dot_)ntc(_dot_)nokia(_dot_)com>
      (Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com)
Subject: Re: [xsl] xsl:param xsl:copy-of


 <xsl:param name="X1" select="/.." />

If the param is defined that way it is a node set so you don't need your
index complication
 <xsl:param name="index" select="1" />

You can just do

<xsl:with-param name="X1" select="$X1/*[position()&gt;1]" />

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>