Re: evaluation context

> We ourselves have discovered that we need a way to merge the "xform"
> attribute with the "ref" and "nodeset" attributes, but we simply haven't
> figured out how to do that yet.

What about removing the xform attribute and introducing a new XPath function
that returns the xform:instance node ?
Something like: node xformInstance("id_of_form")

That way, one could write such expressions:
<xform:repeat nodeset="/one/path">
    <xform:input ref="/input">
        <xform:caption>
            <xform:output
ref="xformInstance('not_default_instance')/other/path/caption" />
        </xform:caption>
    </xform:input>
</xform:repeat>

Another question concerning context: is there a mean to use only the bind
attribute instead of the ref attribute in the preceding exemple ?

Jérôme

Received on Friday, 19 October 2001 03:14:51 UTC