Переглянути джерело

xmlops: Fix TOC in documentation

Hugh Waite 12 роки тому
батько
коміт
06369a4f2b
2 змінених файлів з 47 додано та 44 видалено
  1. 0 39
      modules/xmlops/doc/xmlops.xml
  2. 47 5
      modules/xmlops/doc/xmlops_admin.xml

+ 0 - 39
modules/xmlops/doc/xmlops.xml

@@ -20,45 +20,6 @@
     </bookinfo>
     </bookinfo>
 
 
 
 
-    <section id="xmlops.overview">
-	<title>Overview</title>
-	<para>
-		This is a module implementing functions and pseudo-variables for
-		XML operations.
-	</para>
-    </section>
-	<section>
-	<title>Dependencies</title>
-		<section>
-		<title>Kamailio Modules</title>
-			<para>
-			The following modules must be loaded before this module:
-			</para>
-			<itemizedlist>
-			<listitem>
-			<para>
-				<emphasis>none</emphasis>.
-			</para>
-			</listitem>
-			</itemizedlist>
-		</section>
-		<section>
-		<title>External Libraries or Applications</title>
-			<para>
-			The following libraries or applications must be installed before running
-			kamailio with this module loaded:
-			</para>
-			<itemizedlist>
-			<listitem>
-			<para>
-				<emphasis>libxml</emphasis> - for compilation from source, the 
-				development headers from this library are needed as well.
-			</para>
-			</listitem>
-			</itemizedlist>
-		</section>
-    </section>
-
     <xi:include href="xmlops_admin.xml"/>
     <xi:include href="xmlops_admin.xml"/>
 
 
 </book>
 </book>

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

@@ -2,10 +2,51 @@
 <!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">
 
 
+<chapter>
+	<title>Admin Guide</title>
+    <section id="xmlops.overview">
+	<title>Overview</title>
+	<para>
+		This is a module implementing functions and pseudo-variables for
+		XML operations.
+	</para>
+    </section>
+	<section id="xmlops.deps">
+	<title>Dependencies</title>
+		<section>
+		<title>Kamailio Modules</title>
+			<para>
+			The following modules must be loaded before this module:
+			</para>
+			<itemizedlist>
+			<listitem>
+			<para>
+				<emphasis>none</emphasis>.
+			</para>
+			</listitem>
+			</itemizedlist>
+		</section>
+		<section>
+		<title>External Libraries or Applications</title>
+			<para>
+			The following libraries or applications must be installed before running
+			kamailio with this module loaded:
+			</para>
+			<itemizedlist>
+			<listitem>
+			<para>
+				<emphasis>libxml</emphasis> - for compilation from source, the 
+				development headers from this library are needed as well.
+			</para>
+			</listitem>
+			</itemizedlist>
+		</section>
+    </section>
+
 <section id="xmlops.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
 <section id="xmlops.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
     <title>Parameters</title>
     <title>Parameters</title>
 
 
-    <section id="buf_size">
+    <section id="xmlops.p.buf_size">
 	<title><varname>buf_size</varname> (integer)</title>
 	<title><varname>buf_size</varname> (integer)</title>
 	<para>
 	<para>
 	    Maximum size of the XML buffer.
 	    Maximum size of the XML buffer.
@@ -23,7 +64,7 @@ modparam("xmlops", "buf_size", 8192)
 	</example>
 	</example>
     </section>
     </section>
 
 
-	<section id="xml_ns">
+	<section id="xmlops.p.xml_ns">
 		<title><varname>xml_ns</varname> (str)</title>
 		<title><varname>xml_ns</varname> (str)</title>
 		<para>
 		<para>
 		Register xml namespace prefix. Parameter value must have the format:
 		Register xml namespace prefix. Parameter value must have the format:
@@ -37,10 +78,11 @@ modparam("xmlops", "xml_ns", "rpid=urn:ietf:params:xml:ns:pidf:rpid")
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
+</section>
 
 
-
-	<section id="pv-xml">
+<section id="xmlops.pvs">
     <title>Pseudo-Variables</title>
     <title>Pseudo-Variables</title>
+	<section>
 		<title>
 		<title>
 		<function moreinfo="none">$xml(name=>spec)</function>
 		<function moreinfo="none">$xml(name=>spec)</function>
 		</title>
 		</title>
@@ -60,5 +102,5 @@ $xml(x=&gt;xpath:/a/b) = "1234";
 </programlisting>
 </programlisting>
 		</example>
 		</example>
 	</section>
 	</section>
-
 </section>
 </section>
+</chapter>