2
0
Эх сурвалжийг харах

xmlops: Move to "book" and rename files to avoid collissions

Olle E. Johansson 12 жил өмнө
parent
commit
bf42fb7b6d

+ 23 - 24
modules/xmlops/README

@@ -1,50 +1,47 @@
-1. XMLOPS Module
+XMLOPS Module
 
 
 Daniel-Constantin Mierla
 Daniel-Constantin Mierla
 
 
    asipto.com
    asipto.com
    <[email protected]>
    <[email protected]>
 
 
-   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
    This is a module implementing functions and pseudo-variables for XML
    operations.
    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:
    The following modules must be loaded before this module:
      * none.
      * none.
 
 
-1.2.2. External Libraries or Applications
+2.2. External Libraries or Applications
 
 
    The following libraries or applications must be installed before
    The following libraries or applications must be installed before
    running kamailio with this module loaded:
    running kamailio with this module loaded:
      * libxml - for compilation from source, the development headers from
      * libxml - for compilation from source, the development headers from
        this library are needed as well.
        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.
    Maximum size of the XML buffer.
 
 
@@ -55,7 +52,7 @@ Daniel-Constantin Mierla
 modparam("xmlops", "buf_size", 8192)
 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:
    Register xml namespace prefix. Parameter value must have the format:
    'prefix=uri'.
    'prefix=uri'.
@@ -65,9 +62,11 @@ modparam("xmlops", "buf_size", 8192)
 modparam("xmlops", "xml_ns", "rpid=urn:ietf:params:xml:ns:pidf:rpid")
 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
    Pseudo-variable for XML document operations using xpath syntax. For
    more see the Pseudo-Variables Cookbook.
    more see the Pseudo-Variables Cookbook.

+ 5 - 5
modules/xmlops/doc/xmlops.xml

@@ -2,8 +2,8 @@
 <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
 <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
    "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>
 	<authorgroup>
 		<author>
 		<author>
 		<firstname>Daniel-Constantin</firstname>
 		<firstname>Daniel-Constantin</firstname>
@@ -59,8 +59,8 @@
 		</section>
 		</section>
     </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>
 
 

+ 0 - 0
modules/xmlops/doc/functions.xml → modules/xmlops/doc/xmlops_functions.xml


+ 0 - 0
modules/xmlops/doc/params.xml → modules/xmlops/doc/xmlops_params.xml