blob: 0e34c97f911dfdfe9689a7186c78721278191b4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
The XML input handler is homegrown and very basic at this point. The
following represents valid XML input:
<AsteriskManagerInput>
<Action Value="Ping"/>
<ActionID Value="foo"/>
</AsteriskManagerInput>
<AsteriskManagerInput>
<ProxyAction Value="SetOutputFormat"/>
<Outputformat Value="CSV"/>
</AsteriskManagerInput>
It's entirely possible that other formats will break the parser entirely.
I am toying with going with a lightweight XML parser like MiniXML that may
give some more flexibility at the price of having a dependency. It is
very likely, though, that the current parser will work fine for most
applications.
DCT 6/23/2005
|