Re: [xsl] how to test previous node name

Subject: Re: [xsl] how to test previous node name
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 12 Feb 2007 11:54:40 +0100 (CET)
Abel Braaksma wrote:

  Hi

> the parent node if the current node is its first child,
> and the preceding sibling, if the current node is not the
> first child of its parent.

  Which reads the following in XPath:

    ( parent::*[1]|preceding-sibling::*[1] )[last()]

  Regards,

--drkm




















	

	
		
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com

Current Thread