Preferred tool for folding XML into HTML
Gerhard Häring
gh_pythonlist at gmx.de
Mon Jan 7 13:57:54 EST 2002
Le 07/01/02 à 18:39, Markus Jais écrivit:
> Russell Turpin wrote:
>
> > This isn't really a Python question, but the Pythoneers are
> > smart folks, so I thought I would ask it here. Suppose a
> > development group is making a web app by using Python
> > back-end scripts to generate XML. The XML is desired for
> > automation and modularity. To create the interactive site,
> > the problem then reduces to folding the dynamic data, as
> > presented in XML, into static HTML pages. In other words,
> > the following translation is the last step in generating
> > each web page:
> >
> > XML (dynamic) + HTML template (static) -> final HTML
> >
> > What are now the preferred tools for doing this?
> >
> > Thanks!
> >
> > Russell
>
>
> a possibility for transforming xml into html ist xslt
> you get an open source xslt implementation for python at
> http://www.4suite.org
Starting with PyXML 0.7, XSLT is integrated: http://pyxml.sf.net/
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
More information about the Python-list
mailing list