Have custom XPath functions been implemented in Orbeon?
Posted by
mar on
URL: https://discuss.orbeon.com/Have-custom-XPath-functions-been-implemented-in-Orbeon-tp1473704.html
Have custom XPath functions been implemented in Orbeon? If so how do
they work and where can I find examples/doc.
I would like to implement an Xpath function kind of like below for use
in a xforms:bind. I tried the below based (simple example) on a page in
the Orbeon documentation and
http://www.w3.org/MarkUp/Forms/wiki/Custom_XPath_functions but it
doesn't work.
<xforms:model id="rootModel">
<xforms:instance id="my-instance>
<function name="myfun" as="boolean">
<xforms:return select="true()"/>
</function>
<xforms:bind nodeset="age" type="xs:int" relevant="myfun()"/>
</xforms:instance>
</xforms:model>
Thanks in advance.
Martin
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws