xlog-discussion
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xlog-discussion] New to list - questions


From: Leigh L Klotz, Jr.
Subject: Re: [Xlog-discussion] New to list - questions
Date: Fri, 21 Jan 2005 15:53:04 -0800

Yes, it is dual-use. Client programs (such as gmfsk) could also request log data...a simple query could do a dup/worked-before check and populate the data fields in gmfsk, with the xml result. The log engine would return the xml and gmfsk would parse it. For the web browser use, the xslt would transform the result into html for web display, and the log engine doesn't need to have any code change at all, just a template file somewhere.
On Fri, 21 Jan 2005 3:13 pm, Joop Stakenborg wrote:
Op vr, 21-01-2005 te 12:15 -0800, schreef Leigh L Klotz, Jr.:
 XSLT could be used to convert it to HTML easily.  Libxml2 has xslt in
it. You can use the accept header to determine whether the client wants
 HTML or XML...the query can be the same URL and the browsers will
 automaticaly ask for HTML.  You can also allow the query to specify a
 result style, which would be the name of the XSLT stylesheet to use.


Okay that makes sense. I remember converting epiphany (the gnome
web-browser) bookmarks, which are in xml, to mozilla bookmarks in html
using a xslt style sheet.

I guess we could create some kind of html page with a few buttons to
click on and fields to fill in, which define the query. This page plus
the style sheet could be part of xlog.

Thanks for sharing ideas,

Regards,
Joop



_______________________________________________
Xlog-discussion mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/xlog-discussion




reply via email to

[Prev in Thread] Current Thread [Next in Thread]