Multiple instance elements and default for binding

the rule is first instance is always used unless you name the instance
via instance('x')
>>>>> "Michael" == Michael N Lipp <mnl@mnl.de> writes:


    Michael> Hi,

    Michael> can anybody please give me a hint where the specification
    Michael> defines the behaviour of using the single node binding
    Michael> attribute "ref" without using "instance('xyz')" in the
    Michael> path expression if the model has multiple instance
    Michael> children?

    Michael> One obvious choice would be to use the first instance
    Michael> element in the model. Another could be to try to match
    Michael> the path against all instance(s) until a match is
    Michael> found. This, I assume, would have been mentioned in 7.3
    Michael> "Evaluation Context", so I doubt that this is
    Michael> intended. But I couldn't find confirmation of the first
    Michael> alternative neither...

    Michael> Thanks

    Michael> - Michael

-- 
Best Regards,
--raman
------------------------------------------------------------
T. V. Raman:  PhD (Cornell University)
IBM Research: Human Language Technologies
Architect:    Conversational And Multimodal WWW Standards
Phone:        1 (408) 927 2608   T-Line 457-2608
Fax:        1 (408) 927 3012     Cell: 1 650 799 5724
Email:        tvraman@us.ibm.com
WWW:      http://www.cs.cornell.edu/home/raman
AIM:      TVRaman
PGP:          http://emacspeak.sf.net/raman.asc
Snail:        IBM Almaden Research Center,
              650 Harry Road
              San Jose 95120

Received on Tuesday, 28 January 2003 16:49:57 UTC