Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Barcoded Forms
Viewing all articles
Browse latest Browse all 15504

Re-Using XML file from decode barcode + extract xml process

$
0
0

I was hoping someone could put me in the right direction here. I am decodeing the information stored in a 2D Bar code and sending this information to an XML file, then I am trying to combine that xml file with a blank PDF template but the process is failing beacuse there are some additional tag fields the XML data from the  Decode->Extract XML process.

 

The XML file from the decode process gives the structure below..notice therer some extra tags (lines 2- 4)

 

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

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

<xfa:datasets>

<xfa:data>

<form1>

 

The XML structure that is expected by the PDF template is as follows

 

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

<form1>

 

So the xml output of the Decode barcode + Extract XML process has three extra lines of tag. Is there a way I could use a process within liveCycle to clean out those three lines in real-time before sending the xml to be recombined with the PDF template.

 

Thanks


Viewing all articles
Browse latest Browse all 15504

Trending Articles



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