[Xsltforms-support] xsltforms help with: load/resource/@value single quote escaping
Brought to you by:
alain-couthures
From: dom <do...@th...> - 2011-12-24 18:53:30
|
Would very much appreciate any help with the following: Given a javascript function myfunc('xxx','yyy','zzz') and an xforms instance element containing attributes att1="xxx" att2="yyy" att3="zzz" how do I call this function from the resource child element of a load element ie: <xf:load> <xf:resource value="concat('javascript:myfunc(''',@att1,''',''',@att2,''',''',@att3,''')')"/> </xf:load> which produces the correct result in Saxon but in XSLTForms returns an 'operator unknown' error at the position of the first escaped single quote. Thanks Dominic Martin |