Re: [staf-users] Parsing a xml file using document builder factory.

2009-07-30 Thread Sangram Bakshi
Hi , What i intend do to is actually considering the input xml. u80sp1_L004 u80sp1_L005 xyz.pxy.dxe.cde 144.35.3.90 144.35.3.91 Read all machine_name tag values in a list as : (u80sp1_L004,u80sp1_L005,xyz.pxy.dxe.cde) Read all vmware tags attributes into one list as : (155.35.3.55,155.35.3.56)

Re: [staf-users] Parsing a xml file using document builder factory.

2009-07-30 Thread Sangram Bakshi
Hi David, Thanks for the information. Actually what i wanto achieve is to read the following xml file: preparequicksanityscript acbuildpath test quick sanity script quick sanity dir u80sp1_L004 u80sp1_L005 xyz.pxy.dxe.cde 144.35.3.90 144.35.3.91 For a single tag i am able to get the val

Re: [staf-users] Parsing a xml file using document builder factory.

2009-07-30 Thread David Bender
I'm not sure exactly what's wrong with your job, but we provide the following STAX job: http://staf.sourceforge.net/current/getLatest.xml which you may want to use as an example, since it does some similar processing (for example it parses for multiple elements). Actually the DocumentBuilderF