Module: kamailio
Branch: 5.5
Commit: 78710d9da5cfe117190694cd3b77ced54414a2e8
URL:
https://github.com/kamailio/kamailio/commit/78710d9da5cfe117190694cd3b77ced…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-02-14T13:04:01+01:00
xmlops: docs - added the remark that xml_ns param can be set many times
(cherry picked from commit 56e26387b77536e6c9f13dd62e5aecabaaba2d9a)
---
Modified: src/modules/xmlops/doc/xmlops_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/78710d9da5cfe117190694cd3b77ced…
Patch:
https://github.com/kamailio/kamailio/commit/78710d9da5cfe117190694cd3b77ced…
---
diff --git a/src/modules/xmlops/doc/xmlops_admin.xml
b/src/modules/xmlops/doc/xmlops_admin.xml
index d78247d310..d9a6e04a5d 100644
--- a/src/modules/xmlops/doc/xmlops_admin.xml
+++ b/src/modules/xmlops/doc/xmlops_admin.xml
@@ -68,7 +68,8 @@ modparam("xmlops", "buf_size", 8192)
<title><varname>xml_ns</varname> (str)</title>
<para>
Register xml namespace prefix. Parameter value must have the format:
- 'prefix=uri'.
+ 'prefix=uri'. It can be set many times to cope with multiple namespaces
+ without prefix.
</para>
<para>
This is useful when it is needed to access XML documents that specify
@@ -80,6 +81,7 @@ modparam("xmlops", "buf_size", 8192)
<programlisting format="linespecific">
<![CDATA[
...
+modparam("xmlops", "xml_ns",
"rpid=urn:ietf:params:xml:ns:pidf:rpid")
modparam("xmlops", "xml_ns",
"pidf=urn:ietf:params:xml:ns:pidf")
...
$xml(x=>doc) = '<?xml version="1.0" encoding="utf-8"?>