Skip to content

Commit

Permalink
xmlops: docs - added the remark that xml_ns param can be set many times
Browse files Browse the repository at this point in the history
(cherry picked from commit 56e2638)
  • Loading branch information
miconda committed Feb 14, 2022
1 parent 207e0d9 commit 78710d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/xmlops/doc/xmlops_admin.xml
Expand Up @@ -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
Expand All @@ -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"?>
Expand Down

0 comments on commit 78710d9

Please sign in to comment.