Help: Get Attribute Value!!!!
Nasreen Laghari <[email protected]> Tue, 13 Nov 2007 23:17:29 +0000
| Newsgroups | gmane.text.xml.sax.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1531890408==
Content-Type: multipart/alternative;
boundary="_7fb88103-3c02-407b-8277-2ccbd04aa0b0_"
--_7fb88103-3c02-407b-8277-2ccbd04aa0b0_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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=
--_7fb88103-3c02-407b-8277-2ccbd04aa0b0_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'><BR>
<BLOCKQUOTE>Hi All,<BR> <BR>This is my very first email here and first=
step towards SAX.<BR> <BR>I have made an XML file, I need to get Elem=
ents Attributes Value. I' have been looking and I got getAttributeValue (in=
t index) but I'm confused on int value as parameter.<BR> <BR>Could any=
1 please show me coding example of getting attribute value!!!<BR>&nb=
sp;<BR> <BR>Below is my XML file:<BR> <BR><BR><ServiceAccess&g=
t;<BR> <ServiceProviders><BR> <HSP name=3D"HSP1" U=
RL=3D"<A href=3D"http://localhost:8080/axis2/services/HealthcareServiceProv=
ider1" target=3D_blank>http://localhost:8080/axis2/services/HealthcareServi=
ceProvider1</A>" /><BR> <HSP name=3D"HSP2" URL=3D"<A href=
=3D"http://localhost:8080/axis2/services/HealthcareServiceProvider2" target=
=3D_blank>http://localhost:8080/axis2/services/HealthcareServiceProvider2</=
A>" /><BR> <HSP name=3D"HSP3" URL=3D"<A href=3D"http://loc=
alhost:8080/axis2/services/HealthcareServiceProvider3" target=3D_blank>http=
://localhost:8080/axis2/services/HealthcareServiceProvider3</A>" /><BR>&=
nbsp; <HSP name=3D"HSP4" URL=3D"<A href=3D"http://localhost:8080/ax=
is2/services/HealthcareServiceProvider4" target=3D_blank>http://localhost:8=
080/axis2/services/HealthcareServiceProvider4</A>" /><BR> <=
;HSP name=3D"HSP5" URL=3D"<A href=3D"http://localhost:8080/axis2/services/H=
ealthcareServiceProvider5" target=3D_blank>http://localhost:8080/axis2/serv=
ices/HealthcareServiceProvider5</A>" /><BR> <HSP name=3D"H=
SP6" URL=3D"<A href=3D"http://localhost:8080/axis2/services/HealthcareServi=
ceProvider6" target=3D_blank>http://localhost:8080/axis2/services/Healthcar=
eServiceProvider6</A>" /><BR> <BR> </ServiceProviders=
><BR> <AuthenticationServer><BR> <HSU name=3D""=
URL=3D"localhost"/><BR> </AuthenticationServer><BR></Serv=
iceAccess><BR><BR> <BR> <BR>Regards<BR><BR>
<HR>
Help yourself to FREE treats served up daily at the Messenger Caf=E9. <A hr=
ef=3D"http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=3DTXT_TA=
GLM_OctWLtagline" target=3D_blank>Stop by today!</A> </BLOCKQUOTE><br /><hr=
/>Boo!=A0Scare away worms, viruses and so much more! Try Windows Live OneC=
are! <a href=3D'http://onecare.live.com/standard/en-us/purchase/trial.aspx?=
s_cid=3Dwl_hotmailnews' target=3D'_new'>Try now!</a></body>
</html>=
--_7fb88103-3c02-407b-8277-2ccbd04aa0b0_--
--===============1531890408==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--===============1531890408==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
List: sax-devel, [email protected]
See: http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel
--===============1531890408==--