isn't it

String s = object.getLanguage().getValue();

--
Dennis R. Sherman
Endeavor Information Systems
847-227-2976
[EMAIL PROTECTED]
http://www.endinfosys.com 

-----Original Message-----
From: binu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 8:20 AM
To: [email protected]
Subject: xml-fragment issue



I have generated jr file using XML beans.
But I have a field like this in my XML

<Language Name="English(United States)">EN_US</Language>

Using XML beans I am able to get the attribute "Name" 
using object.getLanguage().getName().

But how to get the content of Language tag.

object.getLanguage() gives me value like 
"<xml-fragment Name="English(United States)" xmlns="">EN_US</xml-fragment>"

I need to get the EN_US  value.
please suggest some way

Thanks in advance

Binu
--
View this message in context:
http://www.nabble.com/xml-fragment-issue-t1823864.html#a4974143
Sent from the Xml Beans - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to