parameter from command line to XSL file

wxdqz

New Member
Hello,

Is there and example where I could take execution that happens inside test.xsl file (for example):

foo=`snmpget -c welcome 192.25.159.163 1.3.6.1.2.1.37.1.13.0 | awk -F":" '{print $3}'`
echo $foo
4

The final result of the command line execution is 4.

And actually use the result - 4 in this case and assign it to the variable inside the same test.xsl file for the use with the different command?

Thank you for your help!
 
Back
Top