rendered paste body<?xml version="1.0" encoding="UTF-8"?>
<!-- basic FO page definition stuff -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xfm="http://www.w3.org/2002/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<head>
<title>Group testcase</title>
<xfm:model>
<xfm:instance xmlns="">
<values>
<test>url</test>
<show xsi:type="xsd:boolean">true</show>
</values>
</xfm:instance>
<xfm:bind id="mybind" nodeset="/values/test" relevant="boolean-from-string(../show)"/>
</xfm:model>
</head>
<body>
<h2>If the checkbox is checked, the image should be visible. Otherwise
it will be hidden.
</h2>
<xfm:input ref="/values/show">
<xfm:label>click to show/hide the image</xfm:label>
</xfm:input>
<xfm:group bind="mybind">
<img src="http://www.dilbert.com/comics/dilbert/archive/images/dilbert2006203590914.gif"/>
</xfm:group>
</body>
</html>