That looks fine, I didn't know about those PHP stuff.  I used to be very
restricted to what the userguide says and now I see there is good
undocumented stuff.

Regards.

-----Original Message-----
From: Oded Arbel [mailto:[EMAIL PROTECTED]]
Sent: ter�a-feira, 25 de junho de 2002 07:10
To: Paul Keogh; [EMAIL PROTECTED]
Subject: RE: XSL Stylesheet for Kannel's status.xml


I'd rather leave the XML as it is, too. as I understand it (not an XML
expert) XSL is used to transform XML into an HTML compatible format so that
browsers can display it ? then you might want to modify the HTML status
output and not the XML one, or maybe add another option that will take the
bare XML generated and transofrm it (as you said - shouldn't be too hard).

Currently what we use here, is a PHP script that reads the XML status, takes
out the interesting parts, add some more information from other places and
buttons to call commands on Kannel admin interface and displays it all on a
browser. it would probably be more difficult to do so if the bare XML was
modified for presentation before being sent to the client.

--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]

+972-9-9581711
+972-67-340014

::..
Q: How many testers does it take to change a light bulb?
A: We just noticed the room was dark; we don't actually fix the problem.




-----Original Message-----
From: Paul Keogh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 11:30 AM
To: [EMAIL PROTECTED]
Subject: RE: XSL Stylesheet for Kannel's status.xml


> 
> And just who would execute the stylesheet? Kannel does not
> include a library that provides a XSLT transformer...
> 
> I think it's a stupid idea that is hard to implement and beyond
> the scope of Kannel. You can always transform the XML-data on the
> client side.

Well, its not that hard to implement; using the libxslt library that
partners libxml, you can apply a transform in about 3 statements.

Transformation on the client side works too, you need to modify the
status.xml document to associate the stylesheet with it, though.
Maybe there's another way without touching the XML document.




Reply via email to