[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: cross document id idref pair checks

Subject: RE: cross document id idref pair checks
From: DPawson@xxxxxxxxxxx
Date: Wed, 10 Jan 2001 08:59:46 -0000
RE:  cross document id idref pair checks
> do you mean that, which I took to mean check for
>    <xxx id="1" id="2"/>

No David, even I knew that to be wrong.



> 
> which can't happen in an XSL input tree, or do you mean checking the
> normal ID constraint that no two ids in the same document 
> have the same
> value
Yes, thats it.


 which is
> test="count(//*[@id='x'])=1"
> or
> test="not((//*[@id='x'])[2])"

Yes, thats it. I seem to remember a somewhat esoteric method of checking
this,
but that one does work. The negated option makes error reporting easier.

Thanks, DaveP

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.