xdoxslt variable being called in [email protected]

rodrigto

Member
Hi All,

I'm trying to call an xdoxslt variable inside a [email protected] I've seen examples of others doing this, but I can't get it to work.

Code:

<?xdoxslt:set_variable($_XDOCTX,'test',count(xdoxslt:distinct_values(//FIELD)))?>
<[email protected]:gettest; xdoxslt:get_variable($_XDOCTX,'test')?>

<?$gettest?> returns with a blank.

What am I missing? I know you can use xdoxslt inside [email protected]

Thanks.
 
Top