Hi all,
I've experienced a problem with xxforms:choose / xxforms:if, the orbeon engine simply said "Invalid element in XForms document: xxforms:choose". But it seems being supported by Orbeon. Any suggestions? Thanks. Frank The model: ---------------------- ... <vra:location type=""> <vra:name type="geographic"/> <vra:name type=""/> <vra:refid type="accession"/> </vra:location> ... The xform: ------------------------ ... <xforms:repeat nodeset="vra:name" id="work_location_name-repeat"> <xxforms:choose> <xxforms:when test="position()=1"> <p class="vra-content"> <xforms:input ref="."> <xforms:label class="vra-label">Location (geo...)</xforms:label> <xforms:help>Geographic location, e.g. Paris,London</xforms:help> </xforms:input> </p> </xxforms:when> <xxforms:otherwise> <p class="vra-content"> <xforms:input ref="."> <xforms:label class="vra-label">Location (repo...)</xforms:label> <xforms:help>Repository or owner (e.g. Musee du Louvre)</xforms:help> </xforms:input> </p> <p class="vra-content"> <xforms:select1 ref="@type[position()=last()]" appearance="full"> <xforms:label class="vra-label">Type</xforms:label> <xforms:help>Location Type</xforms:help> <xforms:itemset nodeset="instance('data-dict')/work/location/name/types/type"> <xforms:label ref="@label"/> <xforms:value ref="@value"/> </xforms:itemset> </xforms:select1> </p> </xxforms:otherwise> </xxforms:choose> </xforms:repeat> ... -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Frank,
yf508 schrieb: > I've experienced a problem with xxforms:choose / xxforms:if, the orbeon > engine simply said "Invalid element in XForms document: xxforms:choose". But > it seems being supported by Orbeon. xxforms:choose, xxforms:if ans so aren't supported any more by OPS since version 3.0: "The xxforms:choose, xxforms:when and xxforms:otherwise constructs are no longer supported with the new XForms engine. Instead, use relevance and xforms:group or xforms:switch / xforms:case." http://www.orbeon.com/ops/doc/home-changes-30#d45e428 HTH florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |