XML stands for eXtensible Markup Language. XML tags are not predefined, you are free to define your own tags to describe the data. XML is designed to be self-descriptive.
XML structure is defined by elements, attributes (and their values), and text (element text).
Oracle XML
Processing of Oracle XML is an integral part of the software. You don't have to configure any filters to extract the data, just run the built-in action Run Oracle XML Command File. For more information on the XML structure, see section Oracle XML Specifications.
<?xml version="1.0" standalone="no"?> <labels _FORMAT="case.nlbl" _PRINTERNAME="Production01" _QUANTITY="1"> <label> <variable name="CASEID">0000000123</variable> <variable name="CARTONTYPE"/> <variable name="ORDERKEY">0000000534</variable> <variable name="BUYERPO"/> <variable name="ROUTE"></variable> <variable name="CONTAINERDETAILID">0000004212</variable> <variable name="SERIALREFERENCE">0</variable> <variable name="FILTERVALUE">0</variable> <variable name="INDICATORDIGIT">0</variable> <variable name="DATE">11/19/2012 10:59:03</variable> </label> </labels>
General XML
If the XML structure in not natively supported in the software, define the XML filter, and define rules to extract the data. For more information, see section Understanding Filters.
<?xml version="1.0" encoding="utf-8"?> <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"> <asx:values> <NICELABEL_JOB> <TIMESTAMP>20130221100527.788134</TIMESTAMP> <USER>PGRI</USER> <IT_LABEL_DATA> <LBL_NAME>goods_receipt.nlbl</LBL_NAME> <LBL_PRINTER>Production01</LBL_PRINTER> <LBL_QUANTITY>1</LBL_QUANTITY> <MAKTX>MASS ONE</MAKTX> <MATNR>28345</MATNR> <MEINS>KG</MEINS> <WDATU>19.01.2012</WDATU> <QUANTITY>1</QUANTITY> <EXIDV>012345678901234560</EXIDV> </IT_LABEL_DATA> </NICELABEL_JOB> </asx:values> </asx:abap>
NiceLabel XML
Processing of NiceLabel XML is an integral part of the software. You don't have to configure any filters to extract the data, just run the built-in action Run Command File. For more information on the XML structure, see section XML Command File.
<nice_commands> <label name="label1.nlbl"> <session_print_job printer="CAB A3 203DPI" skip=0 job_name="job name 1" print_to_file="filename 1"> <session quantity="10"> <variable name="variable name 1" >variable value 1</variable> </session> </session_print_job> <print_job printer="Zebra R-402” quantity="10" skip=0 identical_copies=1 number_of_sets=1 job_name="job name 2" print_to_file="filename 2"> <variable name="variable1" >1</variable> <variable name="variable2" >2</variable> <variable name="variable3" >3</variable> </print_job> </label> </nice_commands>