<xs:simpleType name="dpath"> <xs:restriction base="xs:token"> <xs:pattern value="(/)?([^\\0]+(/)?)+"/> </xs:restriction> </xs:simpleType>