RE: Question re bind constraint

On Tue, 2004-12-14 at 12:57 -0500, Kugelman, John wrote:
> I believe you can do the following:
> 
>     <model>
>       <instance id="data">
>         <field/>
>       </instance>
> 
>       <instance id="numbers">
>         <numbers>
>           <number>1</number>
>           <number>10</number>
>           <number>23</number>
>         </numbers>
>       </instance>
> 
>       <bind nodeset="instance('data')/field"
>             constraint="not(. = instance('numbers')/number)" />
>     </model>

Thanks.  That works and clarifies the spec for me.

Received on Wednesday, 15 December 2004 09:48:36 UTC