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


Groups > comp.lang.python > #78918

Re: Hi Guys... Reading XML using Jython code

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.python
Subject Re: Hi Guys... Reading XML using Jython code
Date 2014-10-10 00:37 +0000
Organization A noiseless patient Spider
Message-ID <m179ok$38f$2@dont-email.me> (permalink)
References <b24cde8a-6612-4c83-ae81-7683b29f04b5@googlegroups.com>

Show all headers | View raw


On Thu, 09 Oct 2014 05:30:21 -0700, Venugopal Reddy wrote:

> XML parsing using Jython..

> In my XML file , One main node is there and Multiple child tags are
> there. But In Child tags , same name repeated twice (like <subject> tag
> repeated twice)

> Please help me on this....

Normally, when pulling data from an xml document, you'll get a collection 
of some sort:

Are you trying to select every subject of every child, the first subject 
of every child, the last subject of every child, or some nth subject of 
every child?

You may need to go back to your specification code and look again at how 
you're specifying which node(s) you want to select.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Hi Guys... Reading XML using Jython code Venugopal Reddy <venugopal.reddy@tspl.com> - 2014-10-09 05:30 -0700
  Re: Hi Guys... Reading XML using Jython code Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-10 00:37 +0000

csiph-web