Hi, sorry but I found your solution a little too long for the little thing I had to do. And for me, I knew exactly where the text had to go. So i changed my xsd to the following and then got a get/setStringValue()) method !!

here is the xsd :


<?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:attribute name="active" type="xs:boolean" use="required" />
       </xs:complexType>
   </xs:element>

   <xs:complexType name="testType">
       <xs:simpleContent>
           <xs:extension base="xs:string">
<xs:attribute name="command" type="xs:string" use="required" /> <xs:attribute name="target" type="xs:string" use="required" />
           </xs:extension>
       </xs:simpleContent>
   </xs:complexType>
</xs:schema>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to