os:execute element
Describes a service that acts on selected text or document element.
Usage
<os:execute action = "sAction" accept-charset = "sCharset" enctype = "sEnclosureType" method = "sMethod"> child elements </os:execute>
Attributes
| Attribute | Type | Required | Description |
|---|---|---|---|
|
accept-charset |
sCharset |
No |
Any valid character set name. If not specified, the following is assumed: |
|
action |
sAction |
Yes |
A URL template that specifies the target of this request. The template can contain replaced variables. |
|
enctype |
sEnclosureType |
No |
A content type for form data. |
|
method |
sMethod |
No |
The HTTP request method to use. Case-insensitive.
|
Child elements
| Element |
|---|
Child element sequence
os:parameter
Parent elements
| Element |
|---|
Remarks
When using the GET method to send data, the amount of data is limited to 2048 bytes.
This element is required.
Examples
The following os:execute element describes the service ineteraction using URL parameters and replaced variables. See os:parameter for a complete list of variables.
<os:execute method="get" action="http://example.com/submit.aspx?url={documentUrl}&title={documentTitle?}" />
Element information
|
Minimum supported system | Windows XP with SP2 |
|---|---|
| Can be empty | No |
See also