Hi,
I’m actually doing a snippet for creating headers with your name, email … And I would like to add the time and the date when the project start and when the last save was done.
I tryed to include :
<xs:element name="startdate" type="xs:dateTime"/>
With
<xs:simpleType name="dateTime" id="dateTime">
<xs:restriction base="xs:anySimpleType">
<xs:whiteSpace value="collapse" fixed="true"/>
</xs:restriction>
</xs:simpleType>
But Sublime Text 2 returns me : “Unrecognised plis element xs:restriction”
Here is my code :
[code]
<?xml version="1.0" encoding="UTF-8"?><xs:simpleType name=“dateTime” id=“dateTime”>
<xs:restriction base=“xs:anySimpleType”>
<xs:whiteSpace value=“collapse” fixed=“true”/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="dateTime" id="dateTime">
here : docstore.mik.ua/orelly/xml/schem … ch16-77031
Any idea what I’m doing wrong?
Sorry for my bad english, french …