7. Reading Device
Display Reader, users can select local files, read online.
The Xdoc file with parameters displays the Parameter form, which the user can run after entering parameters.
Method
_func=viewer
Optional parameters
_key
account password
_locale
Language, selectable values, ZH_CN (Chinese, default), En (English)
Successful return value
Display the reader, such as:
8. Editor
Use the editor to create or edit Xdoc documents and save them to the server. You can also manage documents that have already been deployed on the server.
Method
_func=builder
Optional parameters
_key
Administrator account password
_xdoc
The document to be edited, with the document name beginning with "./", such as: _xdoc=./a.xdoc
Can be overridden by URI, such as: A.xdoc?_func=builder
With this parameter, for single-document editing mode, you cannot create new, open, save documents, or use server views.
_tdoc
The template is created with this template when the Xdoc specified by the _xdoc parameter does not exist.
Template constants: Text (text), table (table), page (pages), Web (Web page)
Support for server document templates beginning with "./", supporting Xdoc XML and JSON formats.
_clib
The current component library, which supports server documents beginning with "./", supports Xdoc XML and JSON formats.
_locale
Language, selectable values, ZH_CN (Chinese, default), En (English)
Successful return value
Display the designer, such as:
9. form
The form Xdoc file must be deployed on the Xdoc server.
Method
URI The way, such as: Xdoc file: A.xdoc, call the way: Http://xdoc.sinaapp.com/a.form
Complex interactive forms can be processed using Xdoc.js, via the API.
Optional parameters
_key
account password
_id
Storage ID
The specified ID is xdoc storage mode, and the form automatically reads and writes data from the Xdoc store.
_data
Data acquisition Address
_action
Data submission Address
Note: _id and (_data, _action) parameter two select one.
Successful return value
Flash Form
10. Parameter Form
The Parameter form is automatically generated according to the parameters defined in Xdoc, and the user can enter a value to run.
Method
_func=pdoc
Optional parameters
_key
account password
_xdoc
XDOC
XDOC the parameters defined in
Incoming parameter value
Successful return value
Flash Parameter form
Xdoc Cloud service API (iv)