Module: sip-router
Branch: master
Commit: d0809a64c34389d82ed1e023aa79372f721a6bbe
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d0809a6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Jun 12 11:24:39 2009 +0300
presence_xml: documentation for xml_ns parameter
- parameter that allow registering namespace prefixes for XPath handling
---
modules_k/presence_xml/README | 14 ++++++++++++++
modules_k/presence_xml/doc/presence_xml_admin.xml | 14 ++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/modules_k/presence_xml/README b/modules_k/presence_xml/README
index d9fafe5..e38262c 100644
--- a/modules_k/presence_xml/README
+++ b/modules_k/presence_xml/README
@@ -36,6 +36,7 @@ Anca-Maria Vamanu
3.8. integrated_xcap_server (int)
3.9. xcap_server (str)
3.10. passive_mode(int)
+ 3.11. xml_ns (str)
4. Exported Functions
5. Installation
@@ -55,6 +56,7 @@ Anca-Maria Vamanu
1.8. Set integrated_xcap_server parameter
1.9. Set xcap_server parameter
1.10. Set passive_mode parameter
+ 1.11. Set xml_ns parameter
Chapter 1. Admin Guide
@@ -78,6 +80,7 @@ Chapter 1. Admin Guide
3.8. integrated_xcap_server (int)
3.9. xcap_server (str)
3.10. passive_mode(int)
+ 3.11. xml_ns (str)
4. Exported Functions
5. Installation
@@ -129,6 +132,7 @@ Chapter 1. Admin Guide
3.8. integrated_xcap_server (int)
3.9. xcap_server (str)
3.10. passive_mode(int)
+ 3.11. xml_ns (str)
3.1. db_url(str)
@@ -271,6 +275,16 @@ modparam("presence_xml", "xcap_server",
"xcap_server.ag.org")
modparam("presence_xml", "passive_mode", 1)
...
+3.11. xml_ns (str)
+
+ Register xml namespace prefix. Parameter value must have the format:
+ 'prefix=uri'.
+
+ Example 1.11. Set xml_ns parameter
+...
+modparam("presence_xml", "xml_ns",
"rpid=urn:ietf:params:xml:ns:pidf:rpid")
+...
+
4. Exported Functions
None to be used in configuration file.
diff --git a/modules_k/presence_xml/doc/presence_xml_admin.xml
b/modules_k/presence_xml/doc/presence_xml_admin.xml
index 16a22bd..cefadf0 100644
--- a/modules_k/presence_xml/doc/presence_xml_admin.xml
+++ b/modules_k/presence_xml/doc/presence_xml_admin.xml
@@ -297,6 +297,20 @@ modparam("presence_xml", "passive_mode", 1)
</programlisting>
</example>
</section>
+ <section>
+ <title><varname>xml_ns</varname> (str)</title>
+ <para>
+ Register xml namespace prefix. Parameter value must have the format:
+ 'prefix=uri'.</para>
+ <example>
+ <title>Set <varname>xml_ns</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("presence_xml", "xml_ns",
"rpid=urn:ietf:params:xml:ns:pidf:rpid")
+...
+</programlisting>
+ </example>
+ </section>
</section>
<section>
<title>Exported Functions</title>