Re: XSLT to Python script conversion?

2012-02-17 Thread Ross Ridge
Matej Cepl mc...@redhat.com wrote: No, the strangness is not that bad (well, it is bad ... almost anything feels bad comparing to Python, to be honest, but not the reason I would give up; after all I spent couple of years with Javascript). The XSLT language is one of the worst misuses of XML,

Re: XSLT to Python script conversion?

2012-02-17 Thread Stefan Behnel
Ross Ridge, 17.02.2012 21:37: Matej Cepl wrote: No, the strangness is not that bad (well, it is bad ... almost anything feels bad comparing to Python, to be honest, but not the reason I would give up; after all I spent couple of years with Javascript). The XSLT language is one of the

Re: XSLT to Python script conversion?

2012-02-17 Thread Ross Ridge
Ross Ridge writes: The XSLT language is one of the worst misuses of XML, which puts it way beyond bad. Stefan Behnel stefan...@behnel.de wrote: Clearly a matter of opinion. No. There's no excuse for using XML as the syntax of a language like XLST.

Re: XSLT to Python script conversion?

2012-02-16 Thread Matej Cepl
On 15.2.2012 18:48, Tim Arnold wrote: Just a note to encourage you to stick with XSLT. I also use lxml for creating and postprocessing my DocBook documents and it is great. But I use the DocBook XSL stylesheets to convert to html; if you're like me, you got discouraged at the strangeness of the

Re: XSLT to Python script conversion?

2012-02-15 Thread Tim Arnold
On 2/13/2012 6:20 AM, Matej Cepl wrote: Hi, I am getting more and more discouraged from using XSLT for a transformation from one XML scheme to another one. Does anybody could share any experience with porting moderately complicated XSLT stylesheet

XSLT to Python script conversion?

2012-02-13 Thread Matej Cepl
Hi, I am getting more and more discouraged from using XSLT for a transformation from one XML scheme to another one. Does anybody could share any experience with porting moderately complicated XSLT stylesheet (https://gitorious.org/sword/czekms-csp_bible/blobs/master/CEP2OSIS.xsl) into a

Re: XSLT to Python script conversion?

2012-02-13 Thread Stefan Behnel
Matej Cepl, 13.02.2012 12:20: I am getting more and more discouraged from using XSLT for a transformation from one XML scheme to another one. Could you explain what it is that discourages you about it? That would allow us to come up with better alternatives for your specific problem. Does

Re: XSLT to Python script conversion?

2012-02-13 Thread Mike C. Fletcher
On 12-02-13 06:20 AM, Matej Cepl wrote: Hi, I am getting more and more discouraged from using XSLT for a transformation from one XML scheme to another one. Does anybody could share any experience with porting moderately complicated XSLT stylesheet