Difference between revisions of "RegAPI/DTDs"

From Second Life Wiki
Jump to navigation Jump to search
(adding get_last_names DTD)
Line 1: Line 1:
{{:Web Services Portal/navigation
{{:Web Services Portal/navigation}}
|style=style="float:right;width:15em;padding-bottom:1em;"}}


This article lists DTDs for use with the various RegAPI calls- cut down versions of the full [[LLSD#DTD|LLSD DTD]], enabling validation of result documents to be stricter.
This article lists DTDs for use with RegAPI calls: simplified versions of the full [[LLSD#DTD|LLSD DTD]], enabling stricter validation of result documents.
 
<br clear="all"/>


== /get_reg_capabilities ==
== /get_reg_capabilities ==

Revision as of 16:44, 29 December 2008

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>