String Value of Barcode


we're using code128 barcodes 14 character identifier. i've been able xml of barcode using decode, there easier way value xml using xpath? want string value 12345678001002. xml result:<br /><br />><?xml version="1.0" ?> <br /> <xb:scanned_image path="pdf" version="1.0" xmlns:xb="http://decoder.barcodedforms.adobe.com/xmlbeans"><br />      <xb:decode><br />            <xb:date>2008-06-16t14:36:30.670-04:00</xb:date> <br />            <xb:host_name> </xb:host_name> <br />           <xb:status type="success"><br />                 <xb:message /> <br />            </xb:status><br />       </xb:decode><br /> <xb:barcode id="1"><br />      <xb:header symbology="code128"><br />        <xb:location page_no="1"><br />          <xb:coordinates><br />            <xb:point x="0.0" y="0.0" /> <br />          <xb:point x="1.0" y="0.0" /> <br />          <xb:point x="1.0" y="1.0" /> <br />          <xb:point x="0.0" y="1.0" /> <br />         </xb:coordinates><br />       </xb:location><br />       </xb:header><br />      <xb:body><br />           <xb:content encoding="utf-8">666666002004</xb:content> <br />        </xb:body><br />  </xb:barcode><br /></xb:scanned_image><br /><br />if try use extracttoxml (and don't have deliminated data) invalidoperationexception, saying <br /><br />>" system.xml.xmlexception: 'document' start tag on line 1 not match end tag of 'barcode'. line 2, position 36. "

the extracttoxml service should used on data extracted 2d barcodes have been encoded using tab-delimited format including field names.

in case, use decode service , use set service move value //content element variable.


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments