Tuesday, 3 July 2018

xdoxslt:get_variable

xdoxslt:get_variable


xdoxslt:get_variable is uses in the XML publisher to get the value of the Variable declared in the XML Publisher RTF Reports. We declared the Variables in the XML publisher reports and then initialize the Value to the Variables. To get the value of these variable we uses this xdoxslt:get_variable. Here below I sharing the code to use this syntax in the XML report rtf templates.


First We set the Variable as below





<?xdoxslt:set_variable($_XDOCTX, 'variable name', value)?>

Then We use this below xdoxslt:get_variable syntax to get the value in the XML tempaltes.


<?xdoxslt:get_variable($_XDOCTX, 'variable name')?>
 

To perform the calculations to the variables , We uses this below syntax.

<?xdoxslt:set_variable($_XDOCTX, 'x', xdoxslt:get_variable($_XDOCTX, 'x' + 1)?>

 
 
 

0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *