Is there any chance you misunderstand what "mixed content" means?
If you only put text inside <myElement>, why don't you just define your
schema as:
<xs:element name="myElement">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
<xs:attribute ... />
</xs:complexType>
</xs:element>
And if you do allow elements in <myElement>, would you tell me why you
want to just concatenate strings?
regards,
--
Kohsuke KAWAGUCHI 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com