Hi Dmitri,

First, the standard mantra:

- please do not send HTML mail to this list (most lists
  prefer plain-text email, this is one of them)

- please send XSLT and XPath questions like this one to
  the Mulberry general XSL list, which you will find at
  http://mulberrytech.com/xsl/xsl-list/ ... that list
  discusses the languages XSLT and XPath, this one is
  for the development of a piece of software.

OK, the XPath you're looking for is something like:

    /root/items[position()=last()]/item[position()=last()]

Regards,

        - Gulli



-----Original Message-----
From: Dmitri Ilyin [mailto:[EMAIL PROTECTED]]
Sent: 28. �g�st 2001 07:23
To: Xalan-Dev List (E-mail)
Subject: selecting of last node


Hi *,

I  have next XML fragment:

<root>
    <items>
        <item/>
        <item/>
    </items>
    <items>
        <item/>
        <item/>
    </items>
</root>

How can I select last  <item> of the last <items> (selected)???


thanks for advice...

regards

Dmitri

Reply via email to