Hi, everybody, I'm totally new to xmlbeans and to this mailing list.
I'm very happy of xmlbeans and provides me a gain of lots of time..
Whatever, I've got a small problem.
I ve got an xml schema and one of the types is a complexType with the
attribute mixed=true.
I've generated the xmltypes into a jar, and now I would like to use them
to add attributes to my element, of course, but also text (that's why
I've put mixed=true)
BUT, I can't find & don't know which method to use to add text into an
element... here is my schema :
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="testCase">
<xs:complexType>
<xs:sequence>
<xs:element name="test" type="testType"
maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:complexType name="testType" mixed="true">
<xs:attribute name="command" type="xs:string" use="required" />
<xs:attribute name="target" type="xs:string" use="required" />
</xs:complexType>
</xs:schema>
I just want to add som text into the element "test" which uses the
complexType "testType" !
I've got all the methods get/setCommand & get/setTarget but none I've
found to add text!
Anyone knows how ?
thanks in advance ,
Victor
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]