diff --git a/Resources/config/webservice.xml b/Resources/config/webservice.xml index 5b0f211..a33b0c2 100644 --- a/Resources/config/webservice.xml +++ b/Resources/config/webservice.xml @@ -65,26 +65,26 @@ string xsd:string - - int - xsd:int - boolean xsd:boolean + + int + xsd:int + float xsd:float - - dateTime - xsd:dateTime - date xsd:date + + dateTime + xsd:dateTime + diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index f7ca83b..19be4f2 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -13,6 +13,7 @@ Reference Guide reference/installation reference/configuration + reference/types Tutorial -------- diff --git a/Resources/doc/reference/types.rst b/Resources/doc/reference/types.rst new file mode 100644 index 0000000..af2345f --- /dev/null +++ b/Resources/doc/reference/types.rst @@ -0,0 +1,25 @@ +Types available +=============== + ++----------+-----------------+ +| Php Type | XML Type | ++==========+=================+ +| string | `xsd:string`_ | ++----------+-----------------+ +| boolean | `xsd:boolean`_ | ++----------+-----------------+ +| int | `xsd:int`_ | ++----------+-----------------+ +| float | `xsd:float`_ | ++----------+-----------------+ +| date | `xsd:date`_ | ++----------+-----------------+ +| dateTime | `xsd:dateTime`_ | ++----------+-----------------+ + +.. _`xsd:string`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#string +.. _`xsd:boolean`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#boolean +.. _`xsd:int`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#int +.. _`xsd:float`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#float +.. _`xsd:date`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#date +.. _`xsd:dateTime`: http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#dateTime \ No newline at end of file