Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75399 > unrolled thread

Re: How to loop through nodes of xml through xslt

Started byDan Stromberg <drsalists@gmail.com>
First post2014-07-30 20:47 -0700
Last post2014-07-30 20:47 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to loop through nodes of xml through xslt Dan Stromberg <drsalists@gmail.com> - 2014-07-30 20:47 -0700

#75399 — Re: How to loop through nodes of xml through xslt

FromDan Stromberg <drsalists@gmail.com>
Date2014-07-30 20:47 -0700
SubjectRe: How to loop through nodes of xml through xslt
Message-ID<mailman.12453.1406778455.18130.python-list@python.org>
On Wed, Jul 30, 2014 at 5:16 AM, varun bhatnagar <varun292006@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web