[Baypiggies] XSLT vs Python for XML manipulation [ BULKTAG PYTHONTAG ]
Stephen McInerney
spmcinerney at hotmail.com
Fri May 23 07:31:57 CEST 2008
Awesome, thanks to all who replied. XSLT-inside-Python sounds like a good
way to go and strike a compromise with reuse.
I will give each of these a look and if I have any useful comment on my experience in a few weeks
I will post it.
Regards,
Stephen
Date: Thu, 22 May 2008 21:27:57 -0700
From: dpb at donbennett.org
To: spmcinerney at hotmail.com
CC: baypiggies at python.org
Subject: Re: [Baypiggies] XSLT vs Python for XML manipulation [ BULKTAG PYTHONTAG ]
Depending on the XSLT, you might be able to use lxml,
http://codespeak.net/lxml/ .
It provides a nice interface to the libxml2 and libxslt (XSLT 1.0)
libraries.
Don
Stephen McInerney wrote:
Can anyone point me to any good articles discussing the
merits and
limitations of XSLT vs Python (or XSLT into Python) for XML
manipulation?
(I inherited an existing flow using XSLT->PERL and I'm trying to
scope how to
implement some enhances, what to port, what to reuse. It is desirable
to share
as much of the existing codebase with other users if possible; however
clean-coding
everything in Python would be cleanest and most compact. It's hard to
make the call.)
Thanks,
Stephen
Keep your kids safer online with Windows Live Family Safety. Help protect your kids.
_______________________________________________
Baypiggies mailing list
Baypiggies at python.org
To change your subscription options or unsubscribe:
http://mail.python.org/mailman/listinfo/baypiggies
_________________________________________________________________
Keep your kids safer online with Windows Live Family Safety.
http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_Refresh_family_safety_052008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20080522/a88fea87/attachment-0001.htm>
More information about the Baypiggies
mailing list