You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-user@xml.apache.org by Jordon Saardchit <JS...@go2.com> on 2004/07/27 20:52:33 UTC

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/