How to get an XForm to display a checkbox? -
I'm having trouble receiving xform
to display a check box - instead This is to display the text area, all my other things are working correctly, I do not seem to be doing this work.
This is the code inside my model:
& lt; Tecnicoff type = "XS: Boolean" /> // close my structure / close the example & lt; Xf: bind id = "takeMoneyOff" nodeset = "/ xForm / takeMoneyOff" /> // Close the model
More items are referred to display for everyone:
Do not you mention which XForms implementation (target) you are targeting , But believe that it is perfectly consistent, you have two options.
-
If you want to specify the type in the example data, your example code indicates that you need the type of attribute, the XML schema example is in the name space, so if you have namespace If the prefix is declared
xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"
, then your example will look like this:< Code> & lt; TakeMoneyOff xsi: type = "x: boolean" />
-
Alternatively, if the example data is coming from external source and you are not in control of it, then you can put a type of feature on the bind Instead the element (in this case XI should not be in the namespace):
Comments
Post a Comment