<doc>
  <legacy_id>1125</legacy_id>
  <name>revXMLRPC_Documents</name>
  <type>function</type>
  <syntax>
    <example>revXMLRPC_Documents()</example>
  </syntax>
  <library>XML-RPC library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Text and Data Processing</category>
    <category>Networks &amp; Communication</category>
  </classification>
  <references>
    <command tag="revXMLRPC_DeleteAllDocuments">revXMLRPC_DeleteAllDocuments Command</command>
  </references>
  <history>
    <introduced version="2.5">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
    <disk access="???"/>
    <process/>
  </security>
  <summary><glossary tag="return">Returns</glossary> a list of all <glossary tag="XML-RPC document">XML-RPC documents</glossary> in memory.</summary>
  <examples>
    <example>revXMLRPC_Documents()</example>
    <example>if myRequest is not among the lines of revXMLRPC_Documents() then loadRequest myRequest </example>
  </examples>
  <description>
    <p>Use the <b>revXMLRPC_Documents</b> <control_st tag="function">function</control_st> to find out which <glossary tag="XML-RPC document">XML-RPC documents</glossary> have been created, or when you want to perform an action on all the <glossary tag="XML-RPC document">XML-RPC documents</glossary> you're working with.</p><p/><p><b>Value:</b></p><p>The <b>revXMLRPC_Documents</b> <control_st tag="function">function</control_st> returns a list of document IDs, one per <keyword tag="line">line</keyword>.</p><p/><p><b>Comments:</b></p><p>Each document ID is the number <glossary tag="return">returned</glossary> by the <function tag="revXMLRPC_CreateRequest">revXMLRPC_CreateRequest</function> when you created the <glossary tag="XML-RPC document">XML-RPC request</glossary>, or the successful <function tag="revXMLRPC_Execute">revXMLRPC_Execute</function> <control_st tag="function">function</control_st> when you executed an <glossary tag="XML-RPC document">XML-RPC request</glossary>.</p><p/><p>If the <b>revXMLRPC_Documents</b> <control_st tag="function">function</control_st> encounters an error, it <glossary tag="return">returns</glossary> an error message starting with "xmlrpcerr".</p><p/><p><code/><img src="202653"/> <b>Important!</b><code/> The <b>revXMLRPC_Documents</b> <control_st tag="function">function</control_st> is part of the <glossary tag="XML-RPC library">XML-RPC library</glossary>. To ensure that the <control_st tag="function">function</control_st> works in a <glossary tag="standalone application">standalone application</glossary>, you must include this <glossary tag="LiveCode custom library">custom library</glossary> when you create your <glossary tag="standalone application">standalone</glossary>. In the Inclusions section on the General screen of the <glossary tag="Standalone Application Settings">Standalone Application Settings</glossary> window, make sure "XML-RPC Library" is selected in the list of script libraries.</p>
  </description>
</doc>