summaryrefslogtreecommitdiffstats
blob: 0c31183dfb0929fab4a3f4268b51b110802ea438 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
t = sluift.from_xml([[
	<foo xmlns='http://swift.im/test' myattr1='myval1' myattr2='myval2'>
		<bar myattr3='myval3'>
			<baz/>
		</bar>
		Some Text
		<bam myattr4='myval4'>
			Some other text
		</bam>
	</foo>
]])

print(t)
print(sluift.to_xml(t))