orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
518 stars 220 forks source link

XBL: ability for component to export XPath functions #938

Open ebruchez opened 11 years ago

ebruchez commented 11 years ago

This just makes sense as a way to communicate.

<xbl:binding>
    <xf:function>...</xf:function>

The function is accessible:

From the outside, the function can be in a namespace. That could be something like:

xmlns:foo="something-with-id-of-the-control"

or:

xmlns:foo="something-with-id-of-binding"
ebruchez commented 11 years ago

This is related to #764. It probably makes a bit more sense to first implement support for functions in models, and then see how that can be extended to XBL?