Re: [xsl] XSL Problem

Subject: Re: [xsl] XSL Problem
From: "Oleg A. Paraschenko" <olpa@xxxxxxxxxx>
Date: Wed, 11 Aug 2004 23:38:50 +0400
  Hello Josh,

On Wed, 11 Aug 2004 11:27:50 -0700
Josh Canfield <joshcanfield@xxxxxxxxx> wrote:

...
> 
> But if I want to get the first "two" node with an "in" attribute, why
> can't I do this?:
> <xsl:copy-of select="/root/one/two[@in][1]"/>

  If I remember right, this expression means

<xsl:copy-of select="/root/one/(two[@in][1])"/>

  Try this way:

<xsl:copy-of select="(/root/one/two[@in])[1]"/>

--
Oleg

Current Thread