"xs:token", "xs:duration"

Hello!

When should I use format type:
1) “xs:token”
2) “xs:duration” ?

best regards,
Dariusz Baumann

Well, it always depends on your application :slight_smile:

It seems to me that you mainly have more general questions about the XML Schema built-in-datatypes.

So the link below might be helpful for you.
http://www.w3.org/TR/xmlschema-2/#built-in-datatypes

Here you will a find a graph, showing the inheritance structure of XML Schema built-in datatypes.
If you click on a certain datatype, you will get more information about value space, constraining facets and also sample values.

Best regards,
Peter