Re: Replace characters and count

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Replace-characters-and-count-tp4665123p4665141.html

Hi Daniel,

What is the `/9` for in your expression? Is that a typo or where you trying
to do something with the number 9? Also in XPath, it's not `true` and
`false`, but `true()` and `false()`. I.e. those are functions, not keywords,
as is the case in many other languages. Finally, instead of `if (something)
then true() else false()`, you just write `something`.

You'll let me know if with this you manage to do what you were looking for.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1585938144905-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet