FW: 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-tp1473704p1475256.html

 
Erik,

Sorry to resend this but I was not sure if it got skipped or what
happened. Can you tell me if Orbeon Xforms supports custom XPath
functions?


Thanks.

Martin

-----Original Message-----
From: Schwartzman, Martin [mailto:[hidden email]]
Sent: Monday, February 08, 2010 4:15 PM
To: [hidden email]
Subject: [ops-users] Have custom XPath functions been implemented in
Orbeon?


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