os:openServiceDescription element
Root element of the OpenService Accelerator file.
Usage
<os:openServiceDescription
xmlns:os = "sNamespace">
child elements
</os:openServiceDescription>
Attributes
Attribute | Type | Required | Description |
---|---|---|---|
xmlns:os |
sNamespace |
Yes |
The URN that uniquely identifies the namespace. Must be the following: https://www.microsoft.com/schemas/openservicedescription/1.0 The OpenService Accelerator schema. |
Child elements
Element |
---|
Child element sequence
os:displayos:homepageUrlos:activity
Parent elements
There are no parent elements.
Examples
The following OpenService Accelerator file describes an email service. The Accelerator is available in both document
and selection
contexts.
<?xml version="1.0" encoding="utf-8"?>
<openServiceDescription
xmlns="https://www.microsoft.com/schemas/openservicedescription/1.0">
<homepageUrl>http://mail.example.com</homepageUrl>
<display>
<name>Send with MyMail</name>
<icon>http://www.example.com/favicon.ico</icon>
</display>
<action category="send">
<activityAction context="document">
<execute method="get" action="https://mail.example.com/mail">
<parameter name="subject" value="{documentTitle}" />
<parameter name="body" value="{documentUrl}" />
</execute>
</activityAction>
<activityAction context="selection">
<execute method="get" action="https://mail.example.com/mail">
<parameter name="subject" value="{documentTitle}" />
<parameter name="body" value="{selection}" />
</execute>
</activityAction>
</activity>
</serviceDescription>
Element information
Minimum supported system |
Windows XP with SP2 |
Can be empty | No |
See also
Reference