/usr/share/doc/kamailio/modules/README.xmlops is in kamailio-xml-modules 5.1.2-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | XMLOPS Module
Daniel-Constantin Mierla
asipto.com
<miconda@gmail.com>
Copyright © 2009 asipto.com
__________________________________________________________________
Table of Contents
1. Admin Guide
1. Overview
2. Dependencies
2.1. Kamailio Modules
2.2. External Libraries or Applications
3. Parameters
3.1. buf_size (integer)
3.2. xml_ns (str)
4. Pseudo-Variables
4.1. $xml(name=>spec)
List of Examples
1.1. Set buf_size parameter
1.2. Set xml_ns parameter
1.3. xml usage
Chapter 1. Admin Guide
Table of Contents
1. Overview
2. Dependencies
2.1. Kamailio Modules
2.2. External Libraries or Applications
3. Parameters
3.1. buf_size (integer)
3.2. xml_ns (str)
4. Pseudo-Variables
4.1. $xml(name=>spec)
1. Overview
This is a module implementing functions and pseudo-variables for XML
operations.
2. Dependencies
2.1. Kamailio Modules
2.2. External Libraries or Applications
2.1. Kamailio Modules
The following modules must be loaded before this module:
* none.
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.
3. Parameters
3.1. buf_size (integer)
3.2. xml_ns (str)
3.1. buf_size (integer)
Maximum size of the XML buffer.
Default value is 4096.
Example 1.1. Set buf_size parameter
...
modparam("xmlops", "buf_size", 8192)
...
3.2. xml_ns (str)
Register xml namespace prefix. Parameter value must have the format:
'prefix=uri'.
Example 1.2. Set xml_ns parameter
...
modparam("xmlops", "xml_ns", "rpid=urn:ietf:params:xml:ns:pidf:rpid")
...
4. Pseudo-Variables
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.
Example 1.3. xml usage
...
$xml(x=>doc)
= '<?xml version="1.0" encoding="UTF-8"?><a><b>test</b></a>';
xlog("content of node b: $xml(x=>xpath:/a/b/text())\n");
$xml(x=>xpath:/a/b) = "1234";
...
|