Need some clarification of the spec.
"chris" <[email protected]> Fri, 30 Mar 2007 20:08:13 -0000
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
I need some clarification of the XML-RPC spec, and I can't seem to
find the information elsewhere.
I am confused as to the value portion of a struct member.
For simple types it is clear:
<struct>
<member>
<name>foo</name>
<value><string>bar</string></value>
</member>
</struct>
But for complex types it becomes unclear.
Does the format replace the value tag with the complex type tag, the
way a param tag works, like so:
<struct>
<member>
<name>foo</name>
<array>
<data>
<value><string>bar1</string></value>
<value><string>bar2</string></value>
</data>
</array>
</member>
</struct>
Or does it wrap the complex type in the value type like so:
<struct>
<member>
<name>foo</name>
<value>
<array>
<data>
<value>bar1</value>
<value>bar2</value>
</data>
</array>
</value>
</member>
</struct>
Which one is the correct format?
-Chris
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/xml-rpc/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/