Date

<< Click to Display Table of Contents >>

 

Date

This XML representation of complex data is used by the following objects/properties:

accessDoor.priorityArray

analogOutput.priorityArray

analogValue.priorityArray

binaryLightingOutput.priorityArray

binaryOutput.priorityArray

binaryValue.priorityArray

bitstringValue.priorityArray

channel.presentValue

characterstringValue.priorityArray

dateValue.priorityArray

datepatternValue.priorityArray

datetimeValue.priorityArray

datetimepatternValue.priorityArray

integerValue.priorityArray

largeAnalogValue.priorityArray

lightingOutput.priorityArray

multiStateOutput.priorityArray

multiStateValue.priorityArray

octetstringValue.priorityArray

positiveIntegerValue.priorityArray

timeValue.priorityArray

timepatternValue.priorityArray

XML Schema

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://www.elipse.com.br/drivers/BACnet" xmlns:mstns="http://www.elipse.com.br/drivers/BACnet" elementFormDefault="qualified" targetNamespace="http://www.elipse.com.br/drivers/BACnet" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="Date">
    <xs:restriction base="xs:string">
      <xs:pattern value="((19|20)\d\d|(\?\?\?)?\?)-((0[0-9]|1[012])|\??\?)-((0[0-9]|[12][0-9]|3[01])|\??\?)(-([0-6]|\?))?" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Value" type="Date" />
</xs:schema>

Examples

Example 1:

<?xml version="1.0" encoding="utf-8" ?>
<Value xmlns="http://www.elipse.com.br/drivers/BACnet">
  <Date>2017-12-20</Date>
</Value>

Was this page useful?