Re: Have custom XPath functions been implemented in Orbeon?

Posted by Erik Bruchez-3 on
URL: https://discuss.orbeon.com/Have-custom-XPath-functions-been-implemented-in-Orbeon-tp1473704p1475368.html

Martin,

No, they are not supported yet. In fact, they are not entirely specified yet ;)

-Erik

On Mon, Feb 8, 2010 at 3:15 PM, Schwartzman, Martin
<[hidden email]> wrote:

>
> 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
>
>


--
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