--- Anindita Goswami <[EMAIL PROTECTED]> wrote:
> <xforms:bind nodeset="/instanceData/TXLife/A_ExistingInsuranceInd"
> calculate="if(string() = '', 0, .)"/>
> This is not working with the new version. So I changed it to
> <xforms:bind nodeset="/instanceData/TXLife/A_ExistingInsuranceInd"
> calculate="if(string() = '')
> then 0
> else ."/>
Try this instead:
if(string(.) = '') then 0 else string(.)
> Somehow some <dummy/> elements are also getting created in instance xml at
> runtime. Are all these happening because xforms is now parsed differently
> in new oxf?
This shouldn't happen. It is in general a sign that hidden field were not
generated correctly in xforms-to-xhtml.xsl (for instance because the file was
not updated after an upgrade to a new version of Presentation Server). You will
never have this problem of having <dummy> elements in your instance with
Presentation Server 2.7. So I suggest that you upgrade to that version. If you
have already upgraded 2.6 recently, going to 2.7 should be (almost)
straightforward.
Alex
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user