help with XMLElement

C

c

I have an XMLElement that looks like this:

<IRS E="-17"/>

I need the value of E in an int and thought I could do this:
int interror = thexmlElement.getIntAttribute("IRS");

but that doesn't seem to do the trick.

What am I missing here?

thanks.

c
 
C

c

I have an XMLElement that looks like this:

<IRS E="-17"/>

I need the value of E in an int and thought I could do this:
int interror = thexmlElement.getIntAttribute("IRS");

but that doesn't seem to do the trick.

What am I missing here?

thanks.

c

Figured it out. Silly me.

getInstAttribute("E") does the trick.

c
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top