using upper statement
I need to test on the Upper value of a string stored in an XML field (Name_ID4); if it's true then store value to variable Test.
The XDOFX:IF works fine with UPPER. Since XDOFX and XSLT cannot be used together in the same statement it does not work.
How can do this if the UPPER statement is an XDOFX statement?
thanks,
RC
<?xdofx:if upper(Name_ID4)=’SOLD TO:’ then xdoxslt:set_variable($_XDOCTX, 'Test','RED') else ‘BLUE’ end if?> |
<?xdoxslt:get_variable($_XDOCTX, 'Test')?> |