|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








