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

Extra CRLF in XML file, how can I remove it?

$
0
0

Hi,

I met a problem in my PDF form now.

Firstly, export an xml file from my PDF form(by function xfa.host.exportData("",0);), however, when open it by xml editor or Windows writing board, it shows an extra CRLF after every item's name, please see below:

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

<f1

><sf

><Cloud_Key

>VH-QS-1V-KV-ff03</Cloud_Key

><SSID

>WPAEnt</SSID

><PWD

>$WPA2_ENT_TEST$</PWD

><IS_EXP

>0</IS_EXP

><IS_DHCP

>1</IS_DHCP

><IP_ADD

/><IP_SUBM

/><IP_DFG

/><IP_DNS

/></sf

></f1

>

 

How can I remove them to make the xml file like this(see below):

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

<f1>

  <sf>

<Cloud_Key>VH-QS-1V-KV-ff03</Cloud_Key>

<SSID>testoSaveris</SSID>

<PWD>tgmSidCW2020</PWD>

<IS_EXP>0</IS_EXP>

<IS_DHCP>1</IS_DHCP>

<IP_ADD/>

<IP_SUBM/>

<IP_DFG/>

<IP_DNS/>

  </sf>

  </f1>

 

Waiting for your help, thank you!


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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