Skip to content

Instantly share code, notes, and snippets.

@avernet
Created March 2, 2010 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avernet/319719 to your computer and use it in GitHub Desktop.
Save avernet/319719 to your computer and use it in GitHub Desktop.
<xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<xhtml:head>
<xforms:model>
<xforms:instance>
<demande>
<test1>true</test1>
<test2>false</test2>
</demande>
</xforms:instance>
</xforms:model>
</xhtml:head>
<xhtml:body>
<xhtml:table border="2">
<xforms:group ref="/demande[test1 = 'true']">
<xhtml:tr>
<xhtml:td>
Numero de demande :
<xforms:output ref="/demande/test1"/>
</xhtml:td>
</xhtml:tr>
</xforms:group>
<xforms:group ref="/demande[test2 = 'true']">
<xhtml:tr>
<xhtml:td>
demande pref :
<xforms:output ref="/demande/test2"/>
</xhtml:td>
</xhtml:tr>
</xforms:group>
</xhtml:table>
</xhtml:body>
</xhtml:html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment