RegAPI/DTDs

From Second Life Wiki
< RegAPI
Revision as of 17:44, 18 October 2008 by SignpostMarv Martin (talk | contribs) (adding get_last_names DTD)
Jump to navigation Jump to search

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>