Avatar

Level 1

Thank you for your help.

Using the xfa.datasets.data.saveXML("pretty") function shows the complete xml, but I'm not able to get the value of a single element inside the xml.

My xml is as follows:

<QEDREP jobname="[271]  W817312010111-08.zip" customer="PEVE">
  <generated>2009-06-25      09:29:59</generated>

</QEDREP>

I want to have the value of the generated element. When I use  this javascript function to show the value, the messagebox is empty...

xfa.host.messageBox(xfa.datasets.data.QEDREP.generated.value, "XML value of 'generated' element", 3);

Can you help me once more, please?

regards,

Peter