xml to xhtml

2009-04-01 Thread jud779
Hi,
I have a data in xml file and i want to show this on html page and i
am planning to put his on http server.
I am exploring my options to show content of xml file. Consider me new
with html and all i am looking to generate simple html page from xml
data. Also, this xml file that i created was from python code element
tree.

If anyone can give me some guidance what should be the best way to
generate html/xhtml page using python would be great. I am open to
other options like xsl or anything else that can make things simple.

Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list


Re: xml to xhtml

2009-04-02 Thread jud779
On Apr 1, 11:16 am, Joe Riopel  wrote:
> On Wed, Apr 1, 2009 at 10:43 AM,   wrote:
> > If anyone can give me some guidance what should be the best way to
> > generate html/xhtml page using python would be great. I am open to
> > other options like xsl or anything else that can make things simple.
>
> Since you're open to other options, I would take a look at XSLT.
>
> http://www.w3schools.com/xsl/

XSLT sounds good. I have already created temporary XSL and its working
fine. Still question is how to put up this on web server index.html.
I am planning to create one index.html and call cgi python which in
return produces html page from xml/xsl. Does this sounds like a good
plan??
Is there any other options than the one i describe above. If, then pls
help me out.

Thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list