XML using W3C data types. How to write

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
[...]
<xs:element name="DateTimeScheduled" type="xs:dateTime"/>
[...]
<xs:element name="FileSize" type="xs:unsignedLong"/>
[...]
</xs:schema>

This is my xml XSD. The problem is that I can't find the way to write output in the DateTime format of XSD using XmlTextWriter. Where can I find it?

Thanks
 
Back
Top