Hi,


is there a way to directly set XML item value using variable.



It works for static values

$xml(my_doc/doc/list) = "<item>test</item>";



But something like this does not work:
$xml(my_doc/doc/list) = "<item>$var(value)</item>";

The only workaround I found it to use .val.



Thanks,

Xaled

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to