<xxe-client> custom HTML element<xxe-client>, a custom HTML element, is
the frontend of XMLmind XML Editor Web Edition. It's a client of backend
xxeserver.
<xxe-client autoconnect = "false" | "true" : "true" autorecover = "false" | "true" : "true" button2pastestext = "false" | "true" : "false" clientproperties = Property_list serverurl = WebSocket_URL >
@autoconnectxxeserver when creating a new document, opening a
document, etc.@autorecover@button2pastestext@clientproperties<xxe-client>
with the xxeserver connection
(<xxe-client> peer; see Part I, Chapter 2. How it works). On the server side, these client
properties are seen by the <xxe-client> peer
as Java™ system properties, which makes them
usable in different contexts (macros, access to remote file systems,
etc).user=john;group=reviewers\u003Bauthors;DAV.password=changeit
properties = property [ ';' property ]* property = name '=' value
@serverurlxxeserver. Default:
"${protocol}://${hostname}:${port}/xxe/ws",
where ${protocol}, ${hostname}
and ${port} represent variable values computed
using the URL of the HTML page containing
<xxe-client>.
| Variable reference | Substituted value |
| ${protocol} | "wss" if <xxe-client>
loaded from an "https://" URL; "ws"
otherwise. |
| ${hostname} | Same host name or IP address as in the URL of the
HTML page containing
<xxe-client>. |
| ${port} | Same port as in the URL of the HTML page containing
<xxe-client>, knowing that implicit
HTTPS port is 443 and implicit HTTP port is 80. |
| ${defaultPort} | 18079 if <xxe-client> loaded
from an "https://" URL; 18078 otherwise. |
@serverurl is computed:<xxe-client> found in
http://localhost:18078/xxe/index.html,
@serverurl is
ws://localhost:18078/xxe/ws.<xxe-client> found in
https://www.xmlmind.com/xmleditor/_web/demo/index.html
(implicit HTTPS port is 443), @serverurl is
wss://www.xmlmind.com:443/xxe/ws.<xxe-client> custom HTML element is defined as
follows:window.customElements.define("xxe-client", XMLEditor);
XMLEditor is found here