<br><br><div class="gmail_quote">On Fri, May 23, 2008 at 11:01 AM, Stephen McInerney &lt;<a href="mailto:spmcinerney@hotmail.com">spmcinerney@hotmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
Awesome, thanks to all who replied. XSLT-inside-Python sounds like a good<br>way to go and strike a compromise with reuse.<br>I will give each of these a look and if I have any useful comment on my experience in a few weeks<br>
I will post it.<br><br><br></div></blockquote></div><br clear="all">On a related note, am trying to code a generic class(xml parser) which defines its own member variables at run time. That is, if the xml is :<br>&lt;a&gt; <br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;b&gt;10&lt;/b&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;c&gt;30&lt;/c&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;d&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;e&gt;100&lt;/e&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;f&gt;200&lt;/f&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/d&gt;<br>&lt;/a&gt;<br><br>and after i parse it, i should be able to access individual entities with a DOT notation, i.e, a.b&nbsp; returns me 10 and a.d returns me a list of 100,200.<br>
<br>Am just clueless - any pointers?<br>-- <br>Venka