xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordon Saardchit <JSaardc...@go2.com>
Subject SimpleContent Retrieval
Date Tue, 27 Jul 2004 18:52:33 GMT
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/


Mime
View raw message