[JDEV] style sheet
Ulrich Staudinger
chicago5 at gmx.de
Tue Nov 5 07:37:02 CST 2002
Shashi,
i just can tell you what we in the ebXML jep do, to transmit native
messages, although the jep is not yet released.
<iq to="a at b.com" type="set">
<ebxml xmlns="jabber:iq:ebxml">
<MessageData></MessageData>
</ebxml>
</iq>
That's all. We plainly send iq-set-tags. However there is a lively
discussion about (full) namespace support [jep 44].
I want to encourage you to move into this direction as well. If you i.e.
create an XSL which transforms
<iq type="set" to="a at b.com">
<rvp xmlns="jabber:iq:rvp">(rvp xml data)</rvp>
</iq>
to something like this:
SUBSCRIBE rvp://host.com/joeuser rvp/1.0
Notification-type: XML
Reply-To: rvp://host2.com/lisadu
From: rvp://host2.com/lisadu
Content-type: text/XML
Content-length: xyz
[CRLF]
<?xml version="1.0"?>
<?namespace name="rvp:" as="rvp">
<property><rvp:status/></property>
<rvp:event-type>change</rvp:event-type>
<rvp:timeout> 06 Nov 1998 08:49:37 GMT </rvp:timeout>
<rvp:subscriber-id> rvp://host2.com/lisadu
</rvp:subscriber-id>
, your xsl would definitely be helpful!
On the other hand there is no (known to me) XSL to transform jabber
presence tags to RVP "presence" tags or all other tags, you propably
look for this.
hope this helps,
ulrich
Shashikanth wrote:
>
> Hi,
> I want to write a style sheet for converting XML string from the
> Jabber into the ones that could be understood by
> the RVP protocol and vice-versa .
>
> ( For those who have not heard what RVP is all about u might find it
> useful )
>
> Protocol Introduction
>
> RVP-specific information is generally transferred in new methods or by
> specifying the RVP namespace in XML-formatted data within the XML
> body of an HTTP protocol element. Use of XML in this way allows an RVP
> server to coexist with an HTTP server. XML is used to provide
> flexibility and extensibility.
>
> Is there any ready made style sheets available as such which
> could make my job simpler?
>
> Could any one throw some light on that .
>
> Cheers,
> Shashi
>
> --
> S.Shashikanth
> ODA,Lucent Development Centre
> Ph: 1 630 224 9760 x221
> http://ihgpweb.ih.lucent.com/~sshashi
>
>
More information about the JDev
mailing list