Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Victor Anyakin <anyakin@bo...> - 2005-11-17 09:01:52
|
On Thu, Nov 17, 2005 at 01:42:15AM -0500, yinglcs@... wrote: > All, > > Can you please tell me how can I parse XML file in Jython? > I find a python XML library > http://uche.ogbuji.net/uche.ogbuji.net/tech/4suite/amara/ > but it requires python 2.3, but I don't think jyhon current support > python 2.3 yet, so I can't > use that library I found. > > Can you please suggest how can I parse xml file in the current jython? > Of course, there is a number of possible ways to parse a file in jython. I have used xml.dom minidom module to build DOM trees of XML files. One more possibility is to use javax.xml.* packages (standard java parsers) -- Victor Anyakin () ascii ribbon campaign /\ - against html mail |