RegAPI/DTDs
< RegAPI
Jump to navigation
Jump to search
Revision as of 16:44, 18 October 2008 by SignpostMarv Martin (talk | contribs) (adding get_last_names DTD)
Second Life APIs
This article lists DTDs for use with the various RegAPI calls- cut down versions of the full LLSD DTD, enabling validation of result documents to be stricter.
/get_reg_capabilities
<xml><!DOCTYPE llsd [
<!ELEMENT llsd (map)> <!ELEMENT map ((key,(string|uri))*)> <!ELEMENT key (#PCDATA)> <!ELEMENT string (#PCDATA)> <!ELEMENT uri (#PCDATA)>
<!ATTLIST string xml:space (default|preserve) 'preserve'>
]></xml>get_last_names
<xml><!DOCTYPE llsd [
<!ELEMENT llsd (map)> <!ELEMENT map ((key,string)*)> <!ELEMENT key (#PCDATA)> <!ELEMENT string (#PCDATA)>
<!ATTLIST string xml:space (default|preserve) 'preserve'>
]></xml>