Soooo.... I take it the perl-dev list is deprecated?  Haven't heard
anything yet...  :)

---------- Forwarded message ----------
Date: Mon, 7 May 2001 14:32:46 -0400 (EDT)
From: Benjamin Reed <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: XHTML message draft support in Net::Jabber?

I was just curious, how would I go about supporting the xhtml messaging
draft using Net::Jabber?  It looks as if it has generic routines for
creating stuff, but the NewX() methods and such have not sunk in yet.  =)

Would it be something like:

my $reply = $message->Reply();
$reply->SetSubject('my response');
$reply->SetBody('non-xhtmlized body');
$reply->SetType('chat');

$reply->NewX('http://ww.w3.org/1999/xhtml', 'html');

...and I guess from there I'm not terribly sure how to go any further.
Digging through X.pm I have a feeling I'm barking up the wrong tree, but
I'm not sure how the XML tree is parsed.

Any hints?  =)


-- 
Ben Reed
OpenNMS
[EMAIL PROTECTED]


_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to