Customizer's Guide > Working with ActiveX Controls > Executing ActiveX Controls Using XUI > Example: Embedded Calendar Control
  
Example: Embedded Calendar Control
This example uses XUI technology to embed the Microsoft Calendar control in a document based on the Arbortext XML DocBook (axdocbook) DTD and displayed in Arbortext Editor. When the user selects a date, the date is added as the content of the document's <date> element. Using the Calendar control for entering the date eliminates the possibility of the user mis-typing the date. The Calendar control also provides a well-known user interface for working with dates.