On 12/06/2010 07:17 PM, Daniel-Constantin Mierla wrote:
> you can define many xml_ns parameters, each with different prefix. I
> guess the inner xmlns overwrites the other one in your sample xml
> document, so you have to use different prefix for that nodes:
>
> modparam("presence_xml", "xml_ns",
Hello,
On 12/6/10 6:09 PM, Andreas Granig wrote:
Hi Daniel,
How is this actually supposed to work? What I'd like to do in the end is
extracting for example the "none" from the "basic"-tag by specifying
"xpath:/presence/tuple/status/basic", which also returns an empty string
now, also when appe
Hi Daniel,
>> How is this actually supposed to work? What I'd like to do in the end is
>> extracting for example the "none" from the "basic"-tag by specifying
>> "xpath:/presence/tuple/status/basic", which also returns an empty string
>> now, also when appended with "/text()".
> the problem is in
Hello,
On 12/6/10 3:13 PM, Andreas Granig wrote:
Hi,
I'm having troubles fetching an xpath from an xml document using
presence_xml, so I probably do something wrong (using kamailio 3.0.x):
$xml(x=>doc) = 'none';
xlog("L_INFO", "all=$xml(x=>doc)\n");
-> prints the whole document, which is
Hi,
I'm having troubles fetching an xpath from an xml document using
presence_xml, so I probably do something wrong (using kamailio 3.0.x):
$xml(x=>doc) = 'none';
xlog("L_INFO", "all=$xml(x=>doc)\n");
-> prints the whole document, which is ok
xlog("L_INFO", "tmp1=$xml(x=>xpath:/)\n");
-> a