prosody stanza parse xml

revision d89751f09967ee22cf188e98ef90f5eb19c46954

raw

phork0.txt

>stanza.stanza("x"):add_child(xml.parse("<y/>"))
| Fatal error while running command, it did not complete
| Error: console:1: attempt to index global 'xml' (a nil value)

>stanza.stanza("x"):add_child(xml.parse("<y/>")):up()        
| Fatal error while running command, it did not complete
| Error: console:1: attempt to index global 'xml' (a nil value)

History