Hi, the problem is not the quotes but anyway here it is: <message to="[EMAIL PROTECTED]" from="user2" > <x xmlns="mic_alert"> <alert type="remove" name="alert name" /> </x> </message>
or <message to="[EMAIL PROTECTED]" 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> tks On Wed, 2002-12-04 at 16:26, Jeremy Nickurak wrote: > 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 [EMAIL PROTECTED] from=user2 > > > <x xmlns=mic_alert> > > <alert type=remove name=alert name /> > > </x> > > </message> > > > > > > or this data > > > > <message [EMAIL PROTECTED] 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 -- Tiago Almeida <[EMAIL PROTECTED]> Clix _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
