which Python XSLT module?
Anton Muhin
antonmuhin at sendmail.ru
Thu Feb 6 06:15:40 EST 2003
Will Stuyvesant wrote:
> We have to translate a couple of XML documents to various other
> formats. XSLT seems good for this. Is there Python support for XSLT
> that works out-of-the-box?
>
> After installing pyxml and doing "import xml.xslt" as some examples
> suggest I get an error already...its a shame because their xmlHOWTO
> document looks good (but does not dive into xslt), and good documents
> are usually a sign of good modules. Somebody suggested "4Suite" but
> others reported many errors and installation problems with that. What
> is the current status? What library or module should I look at? I
> have been searching c.l.p. and other internet resources but could not
> find something decisive. What do you use?
There might be other approaches to solve the problem (just suggestions).
Recently I have played with Excel XML format and found that it much
easier to generate XML files not via XSLT, but from templated text. EmPy
module seems really greate for this tasks. Several days ago there was a
post about SimpleTAL module that seems to deal with HTML and XML
specific templates http://www.owlfish.com/software/simpleTAL/index.html,
but I haven't played with it yet.
Therefore you might simple read your XML files and generate new ones by
templates.
HTH,
Anton.
More information about the Python-list
mailing list