Jeff Beal wrote:
> 
> Try using
> <xsl:template match="//rfc[1]">
>  <!-- Add link to RFC here -->
> </xsl:template>
> 
> I'm not totally sure this will work, but I think since the match is on the
> /descendant-or-self axis of the root node, this will only match on the first
> rfc element in the document.

In attribute match there is XPath pattern and it is evaluated in a
slightly different way than XPath expression. I think that writing
//rfc[1] and rfc[1] in match attribute is same and thus it won't work.
I'm almost 98 % sure :-)

                                Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek                        
  e-mail: [EMAIL PROTECTED]
  http://www.kosek.cz

Reply via email to