BI Publisher (MOSC)

MOSC Banner

Printing a Variable

edited Oct 18, 2013 5:22AM in BI Publisher (MOSC) 12 commentsAnswered
 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')?>    

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center