Re: [xsl] XPath iteration?

Subject: Re: [xsl] XPath iteration?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 12 Jul 2002 16:05:10 +0100
> I have a situation where I want to
> use an XPath expression to ensure that no two sibling elements have
> the same content. 

(have you thought about using schematron, which makes checking these
kind of rules esy)

If by "same content" you mean the same string value,
but that looks like

not(//*[.=following-sibling::*]

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread