[OpenSIPS-Users] Feature request - RFC 3994 and RFC 5438 support for instant messaging
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed May 6 08:08:11 UTC 2026
According to the grammar [1], you have access to the attributes:
access = .val | .attr/string | .attr/$var
An example:
$xml(my_doc/doc/list.attr/sort) = "asc"; # add attribute "sort" to list node
[1] https://opensips.org/docs/modules/3.6.x/xml.html#pv_xml
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 5/4/26 17:31, Robert Dyck wrote:
> Yes.
> Or perhaps just detect the the presence of xlm. It should not go into the
> silo.
>
> On Monday, May 4, 2026 6:48:50 a.m. Pacific Daylight Time you wrote:
>> You mean the xmlns attribute of the isComposing node ?
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>> https://www.opensips-solutions.com
>> https://www.siphub.com
>>
>> On 4/27/26 19:21, Robert Dyck wrote:
>>> I have looked at the module and it is not clear to me how one would
>>> extract the name space from the xml.
>>>
>>>
>>> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
>>> <isComposing xmlns="urn:ietf:params:xml:ns:im-iscomposing">
>>> <state>active</state>
>>> <contenttype>text/plain</contenttype>
>>> <refresh>60</refresh>
>>> </isComposing>'
>>>
>>> _______________________________________________
>>>
>>>>> Users mailing list
>>>>>
>>>>> Users at lists.opensips.org
>>>>>
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> On Monday, April 27, 2026 7:31:14 a.m. Pacific Daylight Time you wrote:
>>>> Robert,
>>>>
>>>>
>>>>
>>>> Check thishttps://opensips.org/docs/modules/3.6.x/xml.html
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>>
>>>>
>>>> Bogdan-Andrei Iancu
>>>>
>>>>
>>>>
>>>> OpenSIPS Founder and Developer
>>>>
>>>> https://www.opensips-solutions.com
>>>>
>>>> https://www.siphub.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20260506/bfec441a/attachment.html>
More information about the Users
mailing list