xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Vasilik" <eric...@bea.com>
Subject RE: SimpleContent Retrieval
Date Tue, 27 Jul 2004 21:04:34 GMT
Have you looked for the document type for this element?  You should find
something like "TheelementDocument,java" if you generate the source.
Inside this class you should find a nested classes called Theelement
which should inherit from XmlString.

- Eric

> -----Original Message-----
> From: Jordon Saardchit [mailto:JSaardchit@go2.com]
> Sent: Tuesday, July 27, 2004 11:53 AM
> To: xmlbeans-user@xml.apache.org
> Subject: SimpleContent Retrieval
> 
> I've got a schema element defined as.  Its a simply an element with 1
> attribute and can also contain a string.  I'm not sure how to retrieve
the
> simplecontent from the XMLBeans generated class though.  There is no
> method
> for it.  Should the class implement
org.apache.xmlbeans.XmlAnySimpleType?
> 
> Schema Element:
> 
> 	<xs:element name="theelement">
> 		<xs:complexType>
> 			<xs:simpleContent>
> 				<xs:extension base="xs:string">
> 					<xs:attribute name="size"
> type="xs:short" use="required"/>
> 				</xs:extension>
> 			</xs:simpleContent>
> 		</xs:complexType>
> 	</xs:element>
> 
> 
> -
---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message