[JDEV] sending/receiving arbitrary XML content with Net::Jabber
dj.adams at pobox.com
Wed Jan 2 06:00:31 CST 2002
On Wed, Jan 02, 2002 at 11:00:08AM +0000, Mark Cheverton wrote:
> Just a heads up on this one, I would also be interested in the agreed
> best way to do this. I notice things like XML-RPC just define a new
> namespace, is this the best way or maybe just dump it in a message? I'd
> like to use jabber as a transport for arbitary XML messages.
Well, technically you could do either, although I'd go for the former
as it's how Jabber was intended to be used. You can define an arbitrary
namespace and carry your XML in that.
(Ref below - must've missed/forgotten this one: Jan Peter - I haven't
used Net::Jabber for a while, so can't remember off the top of my head;
but how about using a 'wrapper' type X extension to hold whatever
RDF you want (i.e. two layers)?
> On Fri, 2001-12-28 at 14:14, Jan Peter Hecking wrote:
> > Hi,
> > does someone know whether it is possible to send/receive arbitrary XML
> > content with Net::Jabber? I am using Jabber to send RDF (Resource
> > Description Format) content between clients and would like to use
> > Net::Jabber for that purpose. I can get the received RDF content using
> > the GetXML method but unfortunately there is no equivalent SetXML
> > method. And I can't use the Net::Jabber::X extension mechanisms via
> > DefineNamespace since I don't know a priori what Namespaces the RDF
> > content might contain.
> > Anyone have an idea how to solve this problem?
> jdev mailing list
> jdev at jabber.org
More information about the JDev