[sr-dev] git:master: xmlops: Move to "book" and rename files to avoid collissions
Olle E. Johansson
oej at edvina.net
Thu Dec 20 20:08:18 CET 2012
Module: sip-router
Branch: master
Commit: bf42fb7b6deef7926816c5ec8f9a4d0bf7393aed
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf42fb7b6deef7926816c5ec8f9a4d0bf7393aed
Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: Thu Dec 20 20:07:58 2012 +0100
xmlops: Move to "book" and rename files to avoid collissions
---
modules/xmlops/README | 47 ++++++++++----------
modules/xmlops/doc/xmlops.xml | 10 ++--
.../doc/{functions.xml => xmlops_functions.xml} | 0
.../xmlops/doc/{params.xml => xmlops_params.xml} | 0
4 files changed, 28 insertions(+), 29 deletions(-)
diff --git a/modules/xmlops/README b/modules/xmlops/README
index 6c183ff..0e1a1f4 100644
--- a/modules/xmlops/README
+++ b/modules/xmlops/README
@@ -1,50 +1,47 @@
-1. XMLOPS Module
+XMLOPS Module
Daniel-Constantin Mierla
asipto.com
<miconda at gmail.com>
- Copyright © 2009 asipto.com
+ Copyright © 2009 asipto.com
__________________________________________________________________
- 1.1. Overview
- 1.2. Dependencies
+ List of Examples
- 1.2.1. Kamailio Modules
- 1.2.2. External Libraries or Applications
+ 1. Set buf_size parameter
+ 2. Set xml_ns parameter
+ 3. xml usage
- 1.3. Parameters
-
- 1.3.1. buf_size (integer)
- 1.3.2. xml_ns (str)
-
- 1.4. Pseudo-Variables
-
- 1.4.1. $xml(name=>spec)
-
-1.1. Overview
+1. Overview
This is a module implementing functions and pseudo-variables for XML
operations.
-1.2. Dependencies
+2. Dependencies
-1.2.1. Kamailio Modules
+ 2.1. Kamailio Modules
+ 2.2. External Libraries or Applications
+
+2.1. Kamailio Modules
The following modules must be loaded before this module:
* none.
-1.2.2. External Libraries or Applications
+2.2. External Libraries or Applications
The following libraries or applications must be installed before
running kamailio with this module loaded:
* libxml - for compilation from source, the development headers from
this library are needed as well.
-1.3. Parameters
+3. Parameters
+
+ 3.1. buf_size (integer)
+ 3.2. xml_ns (str)
-1.3.1. buf_size (integer)
+3.1. buf_size (integer)
Maximum size of the XML buffer.
@@ -55,7 +52,7 @@ Daniel-Constantin Mierla
modparam("xmlops", "buf_size", 8192)
...
-1.3.2. xml_ns (str)
+3.2. xml_ns (str)
Register xml namespace prefix. Parameter value must have the format:
'prefix=uri'.
@@ -65,9 +62,11 @@ modparam("xmlops", "buf_size", 8192)
modparam("xmlops", "xml_ns", "rpid=urn:ietf:params:xml:ns:pidf:rpid")
...
-1.4. Pseudo-Variables
+4. Pseudo-Variables
+
+ 4.1. $xml(name=>spec)
-1.4.1. $xml(name=>spec)
+4.1. $xml(name=>spec)
Pseudo-variable for XML document operations using xpath syntax. For
more see the Pseudo-Variables Cookbook.
diff --git a/modules/xmlops/doc/xmlops.xml b/modules/xmlops/doc/xmlops.xml
index 94fc4b8..e54608a 100644
--- a/modules/xmlops/doc/xmlops.xml
+++ b/modules/xmlops/doc/xmlops.xml
@@ -2,8 +2,8 @@
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-<section id="xmlops" xmlns:xi="http://www.w3.org/2001/XInclude">
- <sectioninfo>
+<book id="xmlops" xmlns:xi="http://www.w3.org/2001/XInclude">
+ <bookinfo>
<authorgroup>
<author>
<firstname>Daniel-Constantin</firstname>
@@ -59,8 +59,8 @@
</section>
</section>
- <xi:include href="params.xml"/>
- <xi:include href="functions.xml"/>
+ <xi:include href="xmlops_params.xml"/>
+ <xi:include href="xmlops_functions.xml"/>
-</section>
+</bookinfo>
diff --git a/modules/xmlops/doc/functions.xml b/modules/xmlops/doc/xmlops_functions.xml
similarity index 100%
rename from modules/xmlops/doc/functions.xml
rename to modules/xmlops/doc/xmlops_functions.xml
diff --git a/modules/xmlops/doc/params.xml b/modules/xmlops/doc/xmlops_params.xml
similarity index 100%
rename from modules/xmlops/doc/params.xml
rename to modules/xmlops/doc/xmlops_params.xml
More information about the sr-dev
mailing list