[Chiba-users] Can you have a dynamic label?
Creators discontinued Chiba & founded betterFORM http://betterform.de
Brought to you by:
chibaxforms,
windauer
From: Adam F. <ada...@nh...> - 2008-01-31 20:10:49
|
Dear All, Now I can repeat attributes I want to create a group with label : value such as <xforms:group appearance="full" > <xforms:label>Models: </xforms:label> <xforms:repeat id="rpt" nodeset="@*[contains(local-name(),'model.')]" appearance="full"> <xforms:trigger appearance="minimal"> <xforms:label>Update</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:send submission="xmlprocess" /> </xforms:action> </xforms:trigger> <xforms:output value="local-name(.)"/> <xforms:input ref="." class="xfInput_75"> <!--<xforms:label><xforms:output ref="local-name(.)"/></xforms:label>--> </xforms:input> </xforms:repeat> </xforms:group> Is there any way I can have a dynamic/xpath label e.g. local-name() In the above exmaple I am using an output but what I'd really like is to be able to set the label to local-name(). Any ideas? Adam ********************************************************************** This message may contain confidential and privileged information. If you are not the intended recipient please accept our apologies. Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation. NHSmail is used daily by over 100,000 staff in the NHS. Over a million messages are sent every day by the system. To find out why more and more NHS personnel are switching to this NHS Connecting for Health system please visit www.connectingforhealth.nhs.uk/nhsmail ********************************************************************** |