This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]