xml-rsl 0.2.0

A SAX-like streaming XML parser, and a DOM-like interface based on that
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="utf-8"?>
<stream:stream xmlns:stream="http://etherx.jabber.org/stream" xmlns="jabber:client" version="1.0" to="example.com">
	<message to="juliet@capulet.lit">
		<request xmlns='urn:xmpp:receipts'/>
		<body>Hello</body>
	</message>

	<iq to="bar@example.net">
		<ping xmlns="urn:xmpp:ping" />
	</iq>

	<stream:error>
		<conflict xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
		<text xml:lang='en' xmlns='urn:ietf:params:xml:ns:xmpp-streams'>
			Another entity with the same resource appeared
		</text>
	</stream:error>
</stream:stream>