[Sax-devel] Help: Get Attribute Value!!!!
Brought to you by:
dmegginson
From: Nasreen L. <lag...@ho...> - 2007-11-13 23:17:40
|
Hi All, This is my very first email here and first step towards SAX. I have= made an XML file, I need to get Elements Attributes Value. I' have been lo= oking and I got getAttributeValue (int index) but I'm confused on int value= as parameter. Could any 1 please show me coding example of getting attrib= ute value!!! Below is my XML file: <ServiceAccess> <ServiceProviders> <HS= P name=3D"HSP1" URL=3D"http://localhost:8080/axis2/services/HealthcareServi= ceProvider1" /> <HSP name=3D"HSP2" URL=3D"http://localhost:8080/axis2/serv= ices/HealthcareServiceProvider2" /> <HSP name=3D"HSP3" URL=3D"http://local= host:8080/axis2/services/HealthcareServiceProvider3" /> <HSP name=3D"HSP4"= URL=3D"http://localhost:8080/axis2/services/HealthcareServiceProvider4" />= <HSP name=3D"HSP5" URL=3D"http://localhost:8080/axis2/services/Healthcare= ServiceProvider5" /> <HSP name=3D"HSP6" URL=3D"http://localhost:8080/axis2= /services/HealthcareServiceProvider6" /> </ServiceProviders> <Authenticat= ionServer> <HSU name=3D"" URL=3D"localhost"/> </AuthenticationServer></Ser= viceAccess> Regards Help yourself to FREE treats served up daily at the Messenger Caf=E9. Stop = by today!=20 _________________________________________________________________ Boo!=A0Scare away worms, viruses and so much more! Try Windows Live OneCare= ! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=3Dwl_hotma= ilnews= |