The following is an example of the TSML document:
<?xml version="1.0" encoding="UTF-8"?>
<tsml:data full-document="true" inline="none" xmlns:tsml="http://www.lansa.com/2002/XML/Generation-Metadata">
<tsml:technology-service-list>
<tsml:technology-service used_by="LANSA_XHTML" lang-count="1" />
<tsml:server-instructions>
<tsml:client-charset />
<tsml:cookies />
<tsml:ssi />
</tsml:server-instructions>
<tsml:replaced-lxml xmlns:lxml="http://www.lansa.com/2002/XML/Runtime-Data" />
<tsml:weblets>
<tsml:weblet name="std_dropdown.std_dropdown">
<tsml:technology-services>
<tsml:technology-service name="LANSA:XHTML" mod-id="20120116205618000">
<tsml:template-params>
<tsml:template-param>
<tsml:param-name>display_mode</tsml:param-name>
<tsml:param-role>std:display_mode</tsml:param-role>
</tsml:template-param>
<tsml:template-param>
<tsml:param-name>items</tsml:param-name>
<tsml:param-role>std:picklist</tsml:param-role>
</tsml:template-param>
<tsml:template-param>
<tsml:param-name>pos_absolute</tsml:param-name>
<tsml:param-role>std:pos_absolute_design</tsml:param-role>
</tsml:template-param>
<tsml:template-param>
<tsml:param-name>width_design</tsml:param-name>
<tsml:param-role>std:width_design</tsml:param-role>
</tsml:template-param>
</tsml:template-params>
</tsml:technology-service>
</tsml:technology-services>
</tsml:weblet>
</tsml:weblets>
<tsml:lxml-data xmlns:lxml="http://www.lansa.com/2002/XML/Runtime-Data">
<lxml:picklist id="9C3BBEF5861148FE8B36378F5F06EF26" field-ref="GRADEX">
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTGRADED" />
</lxml:caption>
<lxml:value>D</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTGRADEM" />
</lxml:caption>
<lxml:value>M</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTGRADEP" />
</lxml:caption>
<lxml:value>P</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTGRADEF" />
</lxml:caption>
<lxml:value>F</lxml:value>
</lxml:item>
</lxml:picklist>
</tsml:lxml-data>
<tsml:context>
<tsml:user-id>QOTHPRDOWN</tsml:user-id>
<tsml:webapplication>EMPWAM</tsml:webapplication>
<tsml:webapplication-title>Employee</tsml:webapplication-title>
<tsml:WebRoutine>skills</tsml:WebRoutine>
<tsml:WebRoutine-title>Employee skills</tsml:WebRoutine-title>
<tsml:service-name />
<tsml:partition>WEX</tsml:partition>
<tsml:language iso-lang="en">ENG</tsml:language>
<tsml:images-path>/images</tsml:images-path>
<tsml:action-request>/CGI-BIN/lansaweb</tsml:action-request>
<tsml:layout-name>empwam_layout</tsml:layout-name>
<tsml:timestamp>2012-03-07T10:30:00+10:00</tsml:timestamp>
</tsml:context>
<tsml:options>
<tsml:option name="DBCS">false</tsml:option>
<tsml:option name="align-right">true</tsml:option>
<tsml:option name="check-numeric">false</tsml:option>
<tsml:option name="debug" />
<tsml:option name="trace" />
<tsml:option name="task" />
</tsml:options>
<tsml:variables />
<tsml:messages />
<tsml:fields>
<tsml:field name="EMPNO">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>ABCDE</tsml:sample-value>
<tsml:format>
<tsml:type>alpha</tsml:type>
<tsml:display-max-length>5</tsml:display-max-length>
<tsml:max-length>5</tsml:max-length>
<tsml:input-case>uppercase</tsml:input-case>
<tsml:keyboardshift />
</tsml:format>
<tsml:caption ref="description">
<tsml:label>Employee no....</tsml:label>
<tsml:description>Employee Number</tsml:description>
<tsml:heading-1> Employ</tsml:heading-1>
<tsml:heading-2> Number</tsml:heading-2>
<tsml:heading-3 />
</tsml:caption>
</tsml:field>
<tsml:field name="GIVENAME">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>ABCDEFGHIJKLMNOPQRST</tsml:sample-value>
<tsml:format>
<tsml:type>alpha</tsml:type>
<tsml:display-max-length>20</tsml:display-max-length>
<tsml:max-length>20</tsml:max-length>
<tsml:input-case>uppercase</tsml:input-case>
<tsml:keyboardshift>O</tsml:keyboardshift>
</tsml:format>
<tsml:caption ref="description">
<tsml:label>Given names....</tsml:label>
<tsml:description>Employee Given Name(s)</tsml:description>
<tsml:heading-1>Given name(s)</tsml:heading-1>
<tsml:heading-2 />
<tsml:heading-3 />
</tsml:caption>
</tsml:field>
<tsml:field name="SURNAME">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>ABCDEFGHIJKLMNOPQRST</tsml:sample-value>
<tsml:format>
<tsml:type>alpha</tsml:type>
<tsml:display-max-length>20</tsml:display-max-length>
<tsml:max-length>20</tsml:max-length>
<tsml:input-case>uppercase</tsml:input-case>
<tsml:keyboardshift>O</tsml:keyboardshift>
</tsml:format>
<tsml:caption ref="description">
<tsml:label>Surname........</tsml:label>
<tsml:description>Employee Surname</tsml:description>
<tsml:heading-1>Surname</tsml:heading-1>
<tsml:heading-2 />
<tsml:heading-3 />
</tsml:caption>
</tsml:field>
</tsml:fields>
<tsml:lists default-sample-size="5">
<tsml:list name="SKILLS" inline="false">
<tsml:mode>input</tsml:mode>
<tsml:list-header>
<tsml:header name="SKILCODE">
<tsml:heading-1>Skill</tsml:heading-1>
<tsml:heading-2>Code</tsml:heading-2>
<tsml:heading-3 />
</tsml:header>
<tsml:header name="SKILDESC">
<tsml:heading-1>Skill</tsml:heading-1>
<tsml:heading-2>Description</tsml:heading-2>
<tsml:heading-3 />
</tsml:header>
<tsml:header name="GRADEX">
<tsml:heading-1>Grade</tsml:heading-1>
<tsml:heading-2>Obtained</tsml:heading-2>
<tsml:heading-3>for</tsml:heading-3>
</tsml:header>
<tsml:header name="DATEACQ">
<tsml:heading-1> Date Skl</tsml:heading-1>
<tsml:heading-2> Acquired</tsml:heading-2>
<tsml:heading-3 />
</tsml:header>
</tsml:list-header>
<tsml:list-entries>
<tsml:entry>
<tsml:column name="SKILCODE">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>ABCDEFGHIJ</tsml:sample-value>
<tsml:format>
<tsml:type>alpha</tsml:type>
<tsml:display-max-length>10</tsml:display-max-length>
<tsml:max-length>10</tsml:max-length>
<tsml:input-case>uppercase</tsml:input-case>
<tsml:keyboardshift>O</tsml:keyboardshift>
</tsml:format>
</tsml:column>
<tsml:column name="SKILDESC">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>ABCDEFGHIJKLMNOPQRST</tsml:sample-value>
<tsml:format>
<tsml:type>alpha</tsml:type>
<tsml:display-max-length>20</tsml:display-max-length>
<tsml:max-length>20</tsml:max-length>
<tsml:input-case>uppercase</tsml:input-case>
<tsml:keyboardshift>O</tsml:keyboardshift>
</tsml:format>
</tsml:column>
<tsml:column name="GRADEX">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>D</tsml:sample-value>
<tsml:format>
<tsml:type>alpha</tsml:type>
<tsml:display-max-length>1</tsml:display-max-length>
<tsml:max-length>1</tsml:max-length>
<tsml:input-case>uppercase</tsml:input-case>
<tsml:keyboardshift />
</tsml:format>
<tsml:use-weblets>
<tsml:use-weblet name="std_dropdown.std_dropdown" technology-service="LANSA:XHTML" />
</tsml:use-weblets>
</tsml:column>
<tsml:column name="DATEACQ">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>12/34/56</tsml:sample-value>
<tsml:format>
<tsml:type>signed</tsml:type>
<tsml:display-max-length>11</tsml:display-max-length>
<tsml:max-length>6</tsml:max-length>
<tsml:total-digits>6</tsml:total-digits>
<tsml:fraction-digits>0</tsml:fraction-digits>
<tsml:decimal-separator>.</tsml:decimal-separator>
</tsml:format>
</tsml:column>
</tsml:entry>
</tsml:list-entries>
</tsml:list>
</tsml:lists>
</tsml:data>