Difference between revisions of "RegAPI/DTDs"
< RegAPI
Jump to navigation
Jump to search
(added mini-DTD for /get_reg_capabilities) |
(adding get_last_names DTD) |
||
Line 11: | Line 11: | ||
<!ELEMENT string (#PCDATA)> | <!ELEMENT string (#PCDATA)> | ||
<!ELEMENT uri (#PCDATA)> | <!ELEMENT uri (#PCDATA)> | ||
<!ATTLIST string xml:space (default|preserve) 'preserve'> | |||
]></xml></div> | |||
== get_last_names == | |||
<div style="font-size:1.6em;"><xml><!DOCTYPE llsd [ | |||
<!ELEMENT llsd (map)> | |||
<!ELEMENT map ((key,string)*)> | |||
<!ELEMENT key (#PCDATA)> | |||
<!ELEMENT string (#PCDATA)> | |||
<!ATTLIST string xml:space (default|preserve) 'preserve'> | <!ATTLIST string xml:space (default|preserve) 'preserve'> | ||
]></xml></div> | ]></xml></div> |
Revision as of 16:44, 18 October 2008
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>