How to loop through nodes of xml through xslt
Dan Stromberg
drsalists at gmail.com
Wed Jul 30 23:47:26 EDT 2014
On Wed, Jul 30, 2014 at 5:16 AM, varun bhatnagar <varun292006 at gmail.com> wrote:
> Hi,
>
> I have two xml files.
> I am trying to fetch an output file which looks like this:
>
> Output.xml
> The number of Procedure tag (<Procedure>) can be different every time. So I
> have to read this tag every time from each xml and then merge it
> sequentially.
> Can anyone tell me how to achieve this. How can I loop every Procedure tag
> and and append the attrProc attribute value in a sequential order?
Did you mean to send this to an XSLT mailing list? You came through
on the python-list.
If you want to make this about Python, you could try xmltodict or
lxml. I've done two projects with xmltodict recently, and liked it
quite a bit.
HTH
More information about the Python-list
mailing list