Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I am a total newbie in Delphi, but had to deal with parsing a TClientDataSet in XML format. I also needed a list of all the possible values for the field type. Did some digging into the Delphi source and came up with this list.</p> <p>If you want to include the field types in the schema then you should include all the types listed here:</p> <pre><code>&lt;xs:enumeration value="string" /&gt; &lt;xs:enumeration value="id" /&gt; &lt;xs:enumeration value="idref" /&gt; &lt;xs:enumeration value="idrefs" /&gt; &lt;xs:enumeration value="entity" /&gt; &lt;xs:enumeration value="entities" /&gt; &lt;xs:enumeration value="nmtoken" /&gt; &lt;xs:enumeration value="nmtokens" /&gt; &lt;xs:enumeration value="number" /&gt; &lt;xs:enumeration value="int" /&gt; &lt;xs:enumeration value="enumeration" /&gt; &lt;xs:enumeration value="notation" /&gt; &lt;xs:enumeration value="fixed" /&gt; &lt;xs:enumeration value="boolean" /&gt; &lt;xs:enumeration value="dateTime" /&gt; &lt;xs:enumeration value="dateTime.tz" /&gt; &lt;xs:enumeration value="date" /&gt; &lt;xs:enumeration value="time" /&gt; &lt;xs:enumeration value="time.tz" /&gt; &lt;xs:enumeration value="i1" /&gt; &lt;xs:enumeration value="byte" /&gt; &lt;xs:enumeration value="i2" /&gt; &lt;xs:enumeration value="i4" /&gt; &lt;xs:enumeration value="i8" /&gt; &lt;xs:enumeration value="ui1" /&gt; &lt;xs:enumeration value="ui2" /&gt; &lt;xs:enumeration value="ui4" /&gt; &lt;xs:enumeration value="ui8" /&gt; &lt;xs:enumeration value="r4" /&gt; &lt;xs:enumeration value="r8" /&gt; &lt;xs:enumeration value="float" /&gt; &lt;xs:enumeration value="char" /&gt; &lt;xs:enumeration value="uuid" /&gt; &lt;xs:enumeration value="bin.hex" /&gt; &lt;xs:enumeration value="bin.base64" /&gt; </code></pre> <p>Thanks for a doing a nice job of defining this schema. This helps a lot.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload