XML-RPC Integer Data Type

The integer is a primitive data type and is represented by a four byte signed integer. It is similar to the PHP data type integer. The integer tag can be represented as int or i4, for four byte integer.

Example Declaration:

<param>
<value><int>42</int></value>
</param>

Alternate Example Declaration:

<param>
<value><i4>42</i4></value>
</param>

Share Article/Example:
  • DotNetKicks
  • DZone
  • StumbleUpon
  • Print
  • Add to favorites
  • Digg
  • del.icio.us
  • Twitter
  • Facebook
  • LinkedIn
  • Posterous
  • Slashdot

Filed Under: PHP XML

Tags:

RSSComments (0)

Trackback URL

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.