<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">According to the grammar [1], you have access
to the attributes:</font>
<p> access = .val | .attr/string | .attr/$var</p>
<font face="monospace">An example:<br>
<br>
</font>
<pre class="programlisting">$xml(my_doc/doc/list.attr/sort) = "asc"; # add attribute "sort" to list node
<font face="monospace">[1] <a class="moz-txt-link-freetext" href="https://opensips.org/docs/modules/3.6.x/xml.html#pv_xml">https://opensips.org/docs/modules/3.6.x/xml.html#pv_xml</a></font></pre>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<br>
<div class="moz-cite-prefix">On 5/4/26 17:31, Robert Dyck wrote:<br>
</div>
<blockquote type="cite" cite="mid:g0i9jsSUTGSRNvj1eVojvQ@telus.net">
<pre wrap="" class="moz-quote-pre">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:
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">You mean the xmlns attribute of the isComposing node ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a>
On 4/27/26 19:21, Robert Dyck wrote:
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">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=<a class="moz-txt-link-rfc2396E" href="urn:ietf:params:xml:ns:im-iscomposing">"urn:ietf:params:xml:ns:im-iscomposing"</a>>
<state>active</state>
<contenttype>text/plain</contenttype>
<refresh>60</refresh>
</isComposing>'
_______________________________________________
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="" class="moz-quote-pre">
On Monday, April 27, 2026 7:31:14 a.m. Pacific Daylight Time you wrote:
</pre>
<blockquote type="cite">
<pre wrap="" class="moz-quote-pre">Robert,
Check this <a class="moz-txt-link-freetext" href="https://opensips.org/docs/modules/3.6.x/xml.html">https://opensips.org/docs/modules/3.6.x/xml.html</a>
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a>
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="" class="moz-quote-pre">
</pre>
</blockquote>
<br>
</body>
</html>