xml editor

   XML Editor
   XML Author
      DITA Editor
      DocBook Editor
      TEI Editor
      XHTML Editor
      Schema Editor
      XML Schema Editor
      RelaxNG Editor
   XQuery
   SVN Client
      Office Open XML
      XSL:FO Editor
      SVG Editor
      WSDL Editor
Supported platforms
Compatible with Windows7 & Mac OS X Snow Leopard
Ready for
data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] [position node] I to get it.


Subject: RE: [xsl] [position node] I to get it.
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 1 Oct 2003 12:56:14 +0300

Hi,

> Id' like to get the position of the parent node of the context node :
> 
> For example :
> 
> <dmref>
> <dmidref> --> from here I need the position of dmref
> <dmidref>

Position in relation to what? If in relation to sibling dmrefs, then

  count(../preceding-sibling::dmref) + 1

Cheers,

Jarno - Front Line Assembly: Plasticity (Dope Experience by D Myer)

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



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2009 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor