Hi Sridhar,
A STAX job can parse an XML file using an XML Parser of your choice (many
XML Parsers are freely available -- just google). You can using
Jython/Java to parse an xml file via a
; # These imports only need to be done once per job, no matter
> # how many xml documents are parsed
> from *java.io* <<a rel="nofollow" href="http://java.io/">http://java.io/</a>> import File
> from *java.io* <<a rel="nof
luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Sangram Bakshi
04/07/2009 05:32 AM
To
Sharon Lucas/Austin/i...@ibmus
cc
staf-users@lists.sourceforge.net
Subject
Re: [staf-users] Parsing a XML file in a stax job.
Hi Sharon,
Thanks for the inputs , actually i am using xml as i am
import StringReader
> from org.xml.sax import InputSource
> from org.xml.sax import SAXParseException
> from org.xml.sax.helpers import DefaultHandler
> from javax.xml.parsers import DocumentBuilderFactory
> from javax.xml.parsers import DocumentBuilder
>
---
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
Sangram Bakshi
04/06/2009 08:01 AM
To
staf-users@lists.sourceforge.net
cc
Subject
[staf-users] Parsing a XML file in a stax job.
Hi ,
I am trying to parse a xml file and read values for it.
Hi ,
I am trying to parse a xml file and read values for it. For this i am
trying to use the DocumentBuilderFactory.
The xml i am trying to read is :
QuickSanity
155.35.3.79,155.63.3.89,155.62.3.91
I want to read the data in tag's , (the array of ip
address ). I want to read these values