Re: [lxml] bidirectional python <-> xml transformations?

May 6, 2013
3:51 p.m.
I may have put the issue in a confusing way, because I used the term "string", but I am actually trying to capture a an entire results tree (or the first item if there is a list of results), and if possible, recursively apply XSLT templates to those results. Consequently, I cannot use the XPath text() function because this flattens the results, rather than keeping them as a tree. I should also note that in the line reading "results = self.apply_templates(context, string)", I tried changing "string" to "string[0]", but the effect was the same. I hope this makes clearer what I am trying to do. On 05/06/2013 03:37 PM, Simon Sapin wrote:
4330
Age (days ago)
4330
Last active (days ago)
1 comments
2 participants
participants (2)
-
Eric Levy
-
Simon Sapin