Difference between revisions of "RegAPI/DTDs"
< RegAPI
Jump to navigation
Jump to search
Rand Linden (talk | contribs) |
Rand Linden (talk | contribs) |
||
Line 6: | Line 6: | ||
== /get_reg_capabilities == | == /get_reg_capabilities == | ||
<div style="font-size:1. | <div style="font-size:1.2em;"><xml><!DOCTYPE llsd [ | ||
<!ELEMENT llsd (map)> | <!ELEMENT llsd (map)> | ||
<!ELEMENT map ((key,(string|uri))*)> | <!ELEMENT map ((key,(string|uri))*)> | ||
Line 17: | Line 17: | ||
== get_last_names == | == get_last_names == | ||
<div style="font-size:1. | <div style="font-size:1.2em;"><xml><!DOCTYPE llsd [ | ||
<!ELEMENT llsd (map)> | <!ELEMENT llsd (map)> | ||
<!ELEMENT map ((key,string)*)> | <!ELEMENT map ((key,string)*)> |
Revision as of 23:22, 11 February 2009
Second Life APIs
This article lists DTDs for use with RegAPI calls: simplified versions of the full LLSD DTD, enabling stricter validation of result documents.
/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>