Hi ,

I need to separate out the label text form in a different xml file and use them .
I tried out this approach :

view.xm l :

<p><output ref="instance('strings')/msg.top"/></p>  ----->Orbeon didnt recognise instance tag in ref
<input bind="term">
 <label ref="instance('strings')/label.term"/>
</input>

In data.xml
<model>
<instance id="strings" src=""  ----->Orbeon didnt recognise src tag in instance
</model>

points to an external XML file containing the strings.

path-to-xml-file.xml :

<strings>
 <msg.top>Please complete the following questions:</msg.top>
 <label.term>Search:</label.term>
</strings>

Please suggest how do u I separate out the label data in different xml and refer them in the view.xml.

Regards,

Surabhi

Reply via email to