[JDEV] jabberbeans: parsing XML from a file

Jens Alfke jens at mac.com
Wed Sep 19 11:25:27 CDT 2001

On Wednesday, September 19, 2001, at 07:08 AM, tom Bailly-salins wrote:

> How can I go from an XML String (representing a message + extensions)
> written in a file to a jabberbeans Message Object that I use in my code?

I don't know anything about the JabberBeans API, but at the very least 
you can run the string through an XML parser and get the various 
elements, from which it's quite easy to get the attributes of the 
messages. JabberBeans must include or require an XML parser, so you 
already have one lying around...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 697 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010919/39abc5ae/attachment-0002.bin>

More information about the JDev mailing list