From 57b35c5e622c8e42efd86924e966822c63a18665 Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Mon, 29 Aug 2011 22:20:24 +0200 Subject: [PATCH] [Doc] Added types available --- Resources/config/webservice.xml | 16 ++++++++-------- Resources/doc/index.rst | 1 + Resources/doc/reference/types.rst | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 Resources/doc/reference/types.rst 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