<div dir="ltr">Hi Dan,<div><br></div><div>Thanks a lot for the reply. I am using lxml for the transformation and I am parsing xsl file using lxml module, that is why posted in this list.</div><div>Is there any way out to achieve this?</div>
<div><br></div><div>Thanks,</div><div>BR,</div><div>Varun</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 5:47 AM, Dan Stromberg <span dir="ltr"><<a href="mailto:drsalists@gmail.com" target="_blank">drsalists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Wed, Jul 30, 2014 at 5:16 AM, varun bhatnagar <<a href="mailto:varun292006@gmail.com">varun292006@gmail.com</a>> wrote:<br>

> Hi,<br>
><br>
> I have two xml files.<br>
<br>
</div><div class="">> I am trying to fetch an output file which looks like this:<br>
><br>
> Output.xml<br>
<br>
</div><div class="">> The number of Procedure tag (<Procedure>) can be different every time. So I<br>
> have to read this tag every time from each xml and then merge it<br>
> sequentially.<br>
> Can anyone tell me how to achieve this. How can I loop every Procedure tag<br>
> and and append the attrProc attribute value in a sequential order?<br>
<br>
</div>Did you mean to send this to an XSLT mailing list?  You came through<br>
on the python-list.<br>
<br>
If you want to make this about Python, you could try xmltodict or<br>
lxml.  I've done two projects with xmltodict recently, and liked it<br>
quite a bit.<br>
<br>
HTH<br>
</blockquote></div><br></div>