Hello,

I use schema API to create a schema instance. I tried to created a schema
element with type="xs:ID" like this:
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema";>
  <xs:complexType name="foo">
    <xs:sequence>
      <xs:element name="data" *type="xs:ID" *minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

But I can't find any method to create a ID type. For example:

ElementDecl e = null;
...
e.setTypeReference(String); // or
e.setType(XmlType);

Has this functionality implemented?

Regards,
-- 
Le Duc Bao

Reply via email to