Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'interfaces': 0.04; 'root': 0.05; 'parsing': 0.09; 'sub': 0.09; 'api': 0.11; 'subject:Help': 0.11; 'subject:issue': 0.16; 'wrote:': 0.18; 'all,': 0.19; "python's": 0.19; 'mon,': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'xml': 0.29; 'message-id:@mail.gmail.com': 0.30; '13,': 0.31; 'file': 0.32; 'url:python': 0.33; 'something': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'is.': 0.60; 'dear': 0.65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=GItUI/4OmQDFRvwdPjOGAGx3MBmC+uDYsuvvxMJoqT8=; b=u94qJYGlqep8wAvdRFNfKfdAuHv7/JH2fNu/mAteqO2Ll0I8Q97TIkyUap9cmDaXJG KNEsvYIivA0Voib/6Bsxf2Cjjm2Pmi6s9089wDUVThIruYOXqscl6FaTDm1tS52mRdj9 cdv69Zb559WrwLbbxs9petI1RmIKT54YZc01ZHYHr8eYY3M+T6nPs6MzW/MHWR8pUM1i 19dDHB0XUELCmW+PgHhvM2WgI17Z3cWQYAFuoc+h5sGsK52XZZOBF/6zQz0lnHSV8huF K3p16O3Sp2nnTkwRxDGLqgsap+4Bu5lNkMaLf1XqjifWB0DSu1rchJ7UbsZbe9mxQn4u 4odQ== X-Received: by 10.67.3.106 with SMTP id bv10mr25019035pad.13.1413215044467; Mon, 13 Oct 2014 08:44:04 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <91eb3378-958d-45e0-8741-a800ae681260@googlegroups.com> References: <91eb3378-958d-45e0-8741-a800ae681260@googlegroups.com> From: Ian Kelly Date: Mon, 13 Oct 2014 09:43:24 -0600 Subject: Re: Jython or Pyton issue-- Kindly Help me.... To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413215053 news.xs4all.nl 2833 [2001:888:2000:d::a6]:34026 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79051 On Mon, Oct 13, 2014 at 5:39 AM, Venugopal Reddy wrote: > Dear All, > > How to write a program for reading or parsing the XML file in Sub root Wise. I don't know what "Sub root Wise" is. You can find an overview of Python's XML parsing interfaces at https://docs.python.org/2/library/xml.html. I would recommend using the ElementTree API unless you have a specific reason to use something else.