[JDEV] Net::Jabber
Jeremy Nickurak
atrus at jabber.spam.rifetech.com
Wed Dec 4 10:26:36 CST 2002
There seem to be alot of quotes missing from your XML. xmlns's in
particular need quotes. Maybe you could send back an example of the XML
with all the quotes in there properly before we start looking for other
problems (assuming that's not it)?
On Wed, 2002-12-04 at 04:21, Tiago Almeida wrote:
> Hi all,
> i'm using the perl module Net::Jabber to create some BOTs for my jabber
> server,and i'm having some difficulties retrieving some xml namespaces.
>
> I'm using the Net::Jabber:X, thats has some methods, but only for
> default namespaces.
> i want to retrieve data in namespaces created by me.
>
> i.e.
>
> i have this xml data
> <message to=user1 at someserver.whatever from=user2 >
> <x xmlns=mic_alert>
> <alert type=remove name=alert name />
> </x>
> </message>
>
>
> or this data
>
> <message to=user1 at someserver.whatever from=user2 >
> <x xmlns=mic_alert>
> <alert name=alert name alerttime=alerttime1 in utc
> eventtime=eventtime1 in utc alldayevent="yes/no"
> category="alert/invitation/anything _else" message=mention the alert
> message><categoryinfo>some
> string</categoryinfo></alert>
> </x>
> </message>
>
> now how can i retrieve the data in <x></x> namespace?
>
> Best regards,
> tsa
--
Jeremy Nickurak <atrus at jabber.spam.rifetech.com>
More information about the JDev
mailing list