wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes XMLBean - How to get value of element containing attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XMLBean - How to get value of element containing attribute" Watch "XMLBean - How to get value of element containing attribute" New topic
Author

XMLBean - How to get value of element containing attribute

juilee rawale
Greenhorn

Joined: Aug 31, 2005
Posts: 7
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

Joined: Mar 06, 2001
Posts: 13459

"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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XMLBean - How to get value of element containing attribute
 
Similar Threads
Handling IDREF in XSL
How to find to which row is selected?
How do I have a child table when the parent has a composite key
javax/servlet/jsp/tagext/JspIdConsumer exception in JSF Richfaces
JavaScript elementName