Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XMLBean - How to get value of element containing attribute

 
juilee rawale
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I m new to XMLBeans.
Please help me to know how to find value of an element that contains attribute.
<InstrumentRatingMap>
<id>898</id>
<instrumentId>1677</instrumentId>
<instrumentRatingId code="MOODLLC:A3">82</instrumentRatingId>
</InstrumentRatingMap>

how to extract value of instrumentRatingId (value 82)
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"juilee",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic