[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-user
Subject:    RE: not able to retrieve attribute
From:       "lincoln zheng" <lincolnzheng () hotmail ! com>
Date:       2007-01-26 21:48:30
Message-ID: BAY21-F2F7C5AF3ABD4051CAC2EDD4A20 () phx ! gbl
[Download RAW message or body]

Hi Lin,
The schema passing option can specify no comment, I don't the default 
setting, if it is set to be no comment, you can not get the comment
Best



>From: "Danny Lin" <Lin.Danny@doc.state.sc.us>
>Reply-To: user@xmlbeans.apache.org
>To: <user@xmlbeans.apache.org>
>Subject: not able to retrieve attribute
>Date: Fri, 19 Jan 2007 17:16:24 -0500
>
>I have an XML fragment that can be obtained by:
>log.debug("Name information:\n"+theName);
>
>"theName" is an object of class that extends
>org.apache.xmlbeans.XmlObject
>
><xml-fragment personNameCommentText="A"
>xmlns:ns6="http://jxdm.ws.doc.state.sc.us
><http://jxdm.ws.doc.state.sc.us> "
>xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
><http://www.w3.org/2003/05/soap-envelope> ">
>   <ns6:PersonGivenName>Rebecca</ns6:PersonGivenName>
>   <ns6:PersonMiddleName>Mace</ns6:PersonMiddleName>
>   <ns6:PersonSurName>Smith</ns6:PersonSurName>
>
>But when I call theName.getPersonNameCommentText() I get a null string.
>How do I get around with this problem? Any help is appreciated.
>
>My XMLBeans version is 2.2 that comes with Axis2 1.1.
>
>Thanks.
>
>Danny
>

_________________________________________________________________
Free Alerts : Be smart - let your information find you ! 
http://alerts.live.com/Alerts/Default.aspx


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic