Листинг 1. XML-обработчик смарт-тегов для набора медицинских терминов
<FL:smarttaglist xmlns:FL="urn:schemas-microsoft-com:smarttags:list">
<FL:name>Medical Condition Terms</FL:name>
<FL:lcid>1033</FL:lcid>
<FL:description>A list of medical conditions for recognition,
as well as a set of actions that work with them.
</FL:description>
<FL:moreinfourl>http://www.adatum.com/moreinfo</FL:moreinfourl>
<FL:updateable>true</FL:updateable>
<FL:autoupdate>true</FL:autoupdate>
<FL:lastcheckpoint>100</FL:lastcheckpoint>
<FL:lastupdate>0</FL:lastupdate>
<FL:updateurl>http://www.adatum.com/smarttags/listupdate.xml</FL:updateurl>
<FL:updatefrequency>5</FL:updatefrequency>
<FL:smarttag type="urn:schemas-adatum-com:medical#condition">
<FL:caption>A. Datum Corporation</FL:caption>
<FL:terms>
<FL:termlist>allergy, cough, arthritis, headache, migraine,
heartburn, high blood pressure, digestive disorder,
diarrhea, cold, thyrotoxicosis, thalassemia,
bloating, nausea, bronchitis
</FL:termlist>
</FL:terms>
<FL:actions>
<FL:action id="CompanyInfo">
<FL:caption>&A. Datum Corporation Company Reports</FL:caption>
<FL:url>http://www.adatum.com</FL:url>
</FL:action>
<FL:action id="CompanyHomePage">
<FL:caption>View A. &Datum Website</FL:caption>
<FL:url>http://www.adatum2.com/home.asp?String={TEXT}</FL:url>
</FL:action>
</FL:actions>
</FL:smarttag>
</FL:smarttaglist>