with XSV I can get round to acually entering a list but they are not recognised as ID just NMTOKENS and when I use them I get ID not declared
What am I missing?
I generated a little example using inline schemas, to show the issue. Don't even try to use XMLSpy
1) No inline support
2) will not cope with
Expand|Select|Wrap|Line Numbers
- <xs:simpleType>
- <xs:list itemType="xs:ID"/>
- </xs:simpleType>
Chris
Expand|Select|Wrap|Line Numbers
- <?xml version="1.0" encoding="UTF-8"?>
- <arbitrarytag xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="#local">
- <xs:schema id="local">
- <xs:element name="root" >
- <xs:complexType>
- <xs:choice>
- <xs:element name="Node" >
- <xs:complexType>
- <xs:attribute name="In" type="xs:IDREFS" />
- </xs:complexType>
- </xs:element>
- </xs:choice>
- <xs:attribute name="In">
- <xs:simpleType>
- <xs:list itemType="xs:ID"/>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:schema>
- <root In="CCG FRED">
- <Node In="CCG FRED" />
- </root>
- </arbitrarytag>