2 Replies Latest reply on Jul 3, 2010 3:08 AM by #Marei#

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

    IkechukwuOkonkwo Level 1

      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