xsl-list
[Top] [All Lists]

Re: XSL Problem

2004-08-11 12:38:50
  Hello Josh,

On Wed, 11 Aug 2004 11:27:50 -0700
Josh Canfield <joshcanfield(_at_)gmail(_dot_)com> 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[(_at_)in][1]"/>

  If I remember right, this expression means

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

  Try this way:

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

--
Oleg


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