Avatar

Level 1

Hi,

I have been trying to solve this problem..but no solution so far.

This is the essence of the requirement

When a user enters a value (suppose HELLO) in TextField1 and clicks on SAVEXML button. it converts the entry to XML and stores in a text box say textField2. Now I go and edit the value inbetween the XML tag from HELLO to HI,, and hit on another button to load the XML back to the textfield1, then it should load as HI.... but nothing is happening... Please advice if I am doing anything wrong in Syntax.

I am using live cycle 8.0

The syntax I am using to saveXML in

var

sXML = xfa.form.data.Page_1.TextField1.saveXML();

TextField2.rawValue

= sXML;

Syntax I am using to load XML...

var

dataToLoad = TextField2.rawValue;

xfa.datasets.data.loadXML(dataToLoad

,0,1);

nothing is working...