Hello, I'm trying to support a situation where a group of controls (or
a single control) appear only if another node in the same instance
document does not appear. When I was using XForms extension for
Firefox in the past, I was able to do it this way:
<xforms:group ref="current()[not(AbsentElement)]">
<xforms:trigger>
<xforms:label>Add Skilled response
section</xforms:label>
.. action to add AbsentElement to context..
</xforms:trigger>
</xforms:group>
The general idea is to only show a trigger if AbsentElement is not a
child of the current context, which will add that element if clicked.
However, I get the following exception
XSLTForms Exception
--------------------------
Error parsing the following XPath expression :
current()[not(AbsentElement)]
Unknown operator at '[not(AbsentElement)]' in 'current()[not(AbsentElement)]'
Can this be done in XSLTForms?
Thanks.
-- Chime
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support