Printing a Variable
Searched and tried a lot but not able to figure out the syntax to be used to print a variable if the xml data is in the following format.
Note : The data xml is generated by Oracle WMS.
XML segment.
---------------------------------------------------
<labels _FORMAT="ENVS MATERIAL NON LOT.lwl" _QUANTITY="1" _JOBNAME="LBL265155">
<label>
<variable name= "ENVS_RECEIPT_DATE">10-OCT-2013</variable>
<variable name= "ENVS_ITEM">04005311B</variable>
</label>
</labels>
-----------------------------------------------------
How do you print the value of the variable "ENVS_ITEM" in the RTF template ?
eg:
<?@{ENVS_ITEM}?>
Also tried Setting /getting
like
<?xdoxslt:set_variable($_XDOCTX, 'xTemp', '@{ENVS_ITEM')?>
<?xdoxslt:get_variable($_XDOCTX, 'xTemp')?>
0