Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Delete a node in XML

$
0
0

Hi

 

I have a XML that is getting generated on click of a button in the form.

 

I am using  xfa.data.saveXML("pretty"); to generate the XML.

 

Following is the XML,

 

<?xml version="1.0" encoding="UTF-8"?>

<xfa:data xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">

   <ELEMENT>

      <DATA>

         <ROW_IID>0</ROW_IID>

         <PARENT>0</PARENT>

         <CHILD>0</CHILD>

      </DATA>

      <NAME> 

          <FNAME>0</FNAME>

          <LNAME>0</LNAME>

      </NAME>

   </ELEMENT>

</xfa:data>

 

I want to delete the <NAME> node in the XML and assign the manipulated XML to some text field.

 

Could anyone please let me know how to do the same?

 

Thanks:)


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>