[xsd-users] custom type

kun lv lvkun2006 at gmail.com
Tue Apr 22 00:08:42 EDT 2008


Hi,
I have a question with --custom-type option.
For example, I have a xsd file like this:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
 <xs:element name="Test">
  <xs:complexType>
   <xs:sequence>
    <xs:element name="arg0" type="xs:anyType"/>
   </xs:sequence>
  </xs:complexType>
 </xs:element>
</xs:schema>
I just want to use string instead of xs:anyType, with the option
"--custom-type anyType=string", but It does't work out. Could you tell me
how to deal with this problem?

Thank you very much!



More information about the xsd-users mailing list