Share via


MOSTL Smart Document Sample [Office 2003 SDK Documentation]

Following is a sample smart document that implements the Microsoft Office Smart Tag List (MOSTL) Schema.

For more information about the MOSTL Schema, see Microsoft Office Smart Tag List Schema Overview. For more information about the elements used in this sample, see Alphabetical List of Elements in the Microsoft Office Smart Tag List Schema.

Note  This example uses the SimpleSample schema included with the Microsoft Office 2003 Smart Document Software Development Kit. For more information about the SimpleSample schema, see the Tutorials section.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<smartTagList xmlns="http://schemas.microsoft.com/office/smarttags/2003/mostl">
   <name>Simple smart document</name>
   <lcid>1033</lcid>
   <description>Simple MOSTL smart document sample.</description>
   <smartDoc type="SimpleSample#example">
      <caption>Simple smart document sample</caption>
      <actions>

         <action id="help"> 
            <actionType>Help</actionType>
            <caption>Help Text</caption>
            <help><html><body><p>This is the Simple MOSTL smart document.</p></body></html></help> 
         </action>

         <action id="hyperlink">
            <actionType>Link</actionType>
            <caption>Link to the Microsoft Web site.</caption>
            <url>http://www.microsoft.com</url>
         </action>

         <action id="separatorLine">
            <actionType>Separator</actionType>
         </action>

         <action id="button">
            <actionType>Button</actionType>
            <caption>Button</caption>
         </action>

      </actions>
   </smartDoc>
</smartTagList>