<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cogdoc="http://www.cognex.com/idproducts">
	<xsl:output method="html" indent="yes" encoding="UTF-8"/>
	<!-- Overall page structure -->
	<xsl:template match="XML">
		<HTML dir="ltr">
			<HEAD>
				<TITLE>DMCC API 
      </TITLE>
				<LINK href="MSDN.css" type="text/css" rel="stylesheet"/>
				<script language="JavaScript">
					<xsl:comment><![CDATA[
window.onerror = null;


function selectSort(){
	
	hideAll();
	document.getElementById(selectSort.arguments[0]).style.display="block";
	SetCookie("DMCCBROWSERSORTORDERCOOKIE", selectSort.arguments[0]) ;
	}

function hideAll()
{

	document.getElementById("NAMEUP").style.display="none";
	document.getElementById("NAMEDN").style.display="none";
	document.getElementById("CATEGORYUP").style.display="none";
	document.getElementById("CATEGORYDN").style.display="none";
	document.getElementById("LEVELUP").style.display="none";
	document.getElementById("LEVELDN").style.display="none";
	document.getElementById("VERSIONUP").style.display="none";
	document.getElementById("VERSIONDN").style.display="none";

}


	// When loading the page, sort by the last selected sort order
		
	function sortByCookie() 
        {
        if ( GetCookie("DMCCBROWSERSORTORDERCOOKIE")==null )
        	selectSort("NAMEUP");
	else
	        selectSort(GetCookie("DMCCBROWSERSORTORDERCOOKIE") );
	}

// Various cookie functions courtesy of http://www.hidaho.com/cookies/cookie.txt
//
function getCookieVal (offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1)
    endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
  var arg = name + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg)
      return getCookieVal (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break; 
  }
  return null;
}	

function SetCookie (name, value) {  
var argv = SetCookie.arguments;  
var argc = SetCookie.arguments.length;  
var expires = (argc > 2) ? argv[2] : null;  
var path = (argc > 3) ? argv[3] : null;  
var domain = (argc > 4) ? argv[4] : null;  
var secure = (argc > 5) ? argv[5] : false;  
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) +  
((domain == null) ? "" : ("; domain=" + domain)) +    
((secure == true) ? "; secure" : "");
}




					]]></xsl:comment>
				</script>
			</HEAD>
			<BODY class="dtBODY" id="bodyID" onload="sortByCookie()">
				<DIV id="nsbanner">
					<DIV id="bannerrow1">
						<TABLE class="bannerparthead" cellSpacing="0">
							<TBODY>
								<TR id="hdr">
									<TD class="runninghead"><h1>DataMan Control Commands Documentation</h1></TD>
								</TR>
								<TR>
                                     <TD width="793" valign="bottom"><!--mstheme--><font face="verdana,arial,helvetica"><i><font size="1">Last updated: <xsl:value-of select="$pDate"/> - <xsl:value-of select="$pTime"/></font></i><!--mstheme--></font></TD>
                                </TR>
                                <TR>
                                     <TD width="793" valign="bottom"><!--mstheme--><font face="verdana,arial,helvetica"><i><a href="mailto:ebrigova@cognex.com"><font size="1">Questions and comments to Anikó Urbán</font></a></i><!--mstheme--></font></TD>
                                </TR>

							</TBODY>
						</TABLE>
					</DIV>
				</DIV>
				<p>
				To sort the table, click on a triangle. 
				</p>
				<div id="nstext" valign="bottom">
					<!-- Build the table once for each sort order -->
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">NAMEUP</xsl:with-param>
					</xsl:call-template>
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">NAMEDN</xsl:with-param>
					</xsl:call-template>
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">CATEGORYUP</xsl:with-param>
					</xsl:call-template>
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">CATEGORYDN</xsl:with-param>
					</xsl:call-template>
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">LEVELUP</xsl:with-param>
					</xsl:call-template>
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">LEVELDN</xsl:with-param>
					</xsl:call-template>
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">VERSIONUP</xsl:with-param>
					</xsl:call-template>
					<xsl:call-template name="COMMAND_TABLE">
						<xsl:with-param name="sortorder">VERSIONDN</xsl:with-param>
					</xsl:call-template>
				</div>
				<DIV CLASS="footer">
					<br/>
					<HR/>
					<br/>
					<br/>
				</DIV>
			</BODY>
		</HTML>
	</xsl:template>
	<xsl:template name="COMMAND_TABLE">
		<xsl:param name="sortorder"/>
		<!-- Set the ID for this version of the table -->
		<div>
			<xsl:attribute name="ID"><xsl:value-of select="$sortorder"/></xsl:attribute>
			<div class="tablediv">
				<table class="dtTABLE" cellspacing="0">
							<!-- the first four header cells are different for each sort order (e.g. which one has an up or down arrow) -->
							<!-- Each case generates the table using the correct sort order with xsl:sort. Use multiple xsl:sort elements to set secondary search order -->
							<xsl:choose>
								<xsl:when test="$sortorder = 'NAMEUP'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="red-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="blue-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./@name"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
								<xsl:when test="$sortorder = 'NAMEDN'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="red-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="blue-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./@name" order="descending"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
								<xsl:when test="$sortorder = 'CATEGORYUP'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="red-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="blue-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./CATEGORY"/>
										<xsl:sort select="./@name"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
								<xsl:when test="$sortorder = 'CATEGORYDN'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="red-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="blue-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./CATEGORY" order="descending"/>
										<xsl:sort select="./@name"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
								<xsl:when test="$sortorder = 'LEVELUP'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="red-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="blue-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./PUBLIC"/>
										<xsl:sort select="./@name"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
								<xsl:when test="$sortorder = 'LEVELDN'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="red-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="blue-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./PUBLIC" order="descending"/>
										<xsl:sort select="./@name"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
								<xsl:when test="$sortorder = 'VERSIONUP'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="red-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="blue-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./VERSION"/>
										<xsl:sort select="./@name"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
								<xsl:when test="$sortorder = 'VERSIONDN'">
									<thead>
										<tr>
											<th width="10%"><xsl:text>Name</xsl:text><br/><input type="image" onclick="selectSort('NAMEUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('NAMEDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Type</xsl:text><br/><input type="image" onclick="selectSort('CATEGORYUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('CATEGORYDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Level</xsl:text><br/><input type="image" onclick="selectSort('LEVELUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('LEVELDN')" src="blue-up.png"  /></th>
											<th width="10%"><xsl:text>Version</xsl:text><br/><input type="image" onclick="selectSort('VERSIONUP')" src="blue-dn.png"  /><input type="image" onclick="selectSort('VERSIONDN')" src="red-up.png"  /></th>
											<th width="5%">Set/Get<br/>&#160;</th>
											<th width="10%">Args<br/>&#160;</th>
											<th width="10%">Range<br/>&#160;</th>
											<th width="10%">Meaning<br/>&#160;</th>
											<th width="15%">Description<br/>&#160;</th>
											<th width="10%">Support<br/>&#160;</th>
										</tr>
									</thead>
									<tbody>
									<xsl:apply-templates select="COMMAND">
										<xsl:sort select="./VERSION" order="descending"/>
										<xsl:sort select="./@name"/>
									</xsl:apply-templates>
									</tbody>
								</xsl:when>
							</xsl:choose>
				</table>
			</div>
		</div>
	</xsl:template>

<!-- Rule that produces a row of the table -->
	
<xsl:template match="COMMAND">
        <tr>
          <td>
            <xsl:value-of select="./@name" />
          </td>
          <td>
            <xsl:apply-templates select="CATEGORY" />
          </td>
          <td>
            <xsl:apply-templates select="PUBLIC" />
          </td>
          <td>
            <xsl:apply-templates select="VERSION" />
          </td>
          <td>
            <xsl:apply-templates select="SETGET" />
          </td>
          <td>
            <xsl:apply-templates select="ARGUMENT" />
          </td>
          <td>
            <xsl:call-template name="ARGUMENT_RANGE" />
          </td>
          <td>
            <xsl:call-template name="ARGUMENT_MEANING" />
          </td>
          <td>
            <xsl:apply-templates select="DESCRIPTION" />
          </td>
		  <td>
            <xsl:apply-templates select="SUPPORT" />
          </td>
        </tr>

	</xsl:template>

<!-- Rules that generate the contents of each table cell -->

	<xsl:template match="ARGUMENT">
		<xsl:value-of select="./@arg"/>
		<br/>
		<xsl:for-each select="MEANING">
			<xsl:if test="not(position()=last())">
				<br/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<!-- Range  -->
	<xsl:template name="ARGUMENT_RANGE">
		<xsl:for-each select="./ARGUMENT">
			<xsl:if test="./@type='bool'">
        [ON|OFF]
        <xsl:if test="not(position()=last())"/>
			</xsl:if>
			<xsl:for-each select="./RANGE">
				<xsl:value-of select="."/>
				<!--Added to match meaning -->
				<xsl:for-each select="../MEANING">
					<xsl:if test="not(position()=last())">
						<br/>
					</xsl:if>
				</xsl:for-each>
				<!--Added to match meaning -->
			</xsl:for-each>
			<xsl:if test="(position()&lt;last())">
				<br/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<!-- Meaning  -->
	<xsl:template name="ARGUMENT_MEANING">
		<xsl:for-each select="./ARGUMENT">
			<xsl:if test="./@type='bool'">
        enable/disable
      </xsl:if>
			<xsl:for-each select="./MEANING">
				<xsl:value-of select="."/>
				<xsl:if test="not(position()=last())">
					<br/>
				</xsl:if>
			</xsl:for-each>
			<xsl:if test="not(position()=last())">
				<br/>
			</xsl:if>
		</xsl:for-each>
	</xsl:template>
	<xsl:template match="ARGUMENT/RANGE">
		<xsl:value-of select="."/>
		<xsl:if test="../@type='bool'">[ON|OFF]</xsl:if>
		<xsl:if test="not(position()=last())">
			<br/>
		</xsl:if>
	</xsl:template>
	<xsl:template match="ARGUMENT/MEANING">
		<xsl:value-of select="."/>
		<xsl:if test="../@type='bool'">enable/disable</xsl:if>
		<xsl:if test="not(position()=last())">
			<br/>
		</xsl:if>
	</xsl:template>
	<xsl:template match="SETGET">
		<xsl:choose>
			<xsl:when test="starts-with(.,'sg')">SET|GET</xsl:when>
			<xsl:when test="starts-with(.,'g')">GET</xsl:when>
			<xsl:when test="starts-with(.,'s')">SET</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- Category  -->
	<xsl:template match="CATEGORY">
		<xsl:value-of select="."/>
	</xsl:template>
	<!-- Public  -->
	<xsl:template match="PUBLIC">
		<xsl:choose>
			<xsl:when test="starts-with(.,'1')">PUBLIC</xsl:when>
			<xsl:when test="starts-with(.,'2')">PREVIEW</xsl:when>
			<xsl:when test="starts-with(.,'3')">PRIVATE</xsl:when>
		</xsl:choose>
	</xsl:template>
	<!-- Version  -->
	<xsl:template match="VERSION">
		<xsl:value-of select="."/>
	</xsl:template>
	<!-- Description  -->
	<xsl:template match="DESCRIPTION">
		<xsl:value-of select="."/>
		<xsl:for-each select="../COMMENT">
			<br/>
			<i>
				<xsl:value-of select="."/>
			</i>
		</xsl:for-each>
	</xsl:template>
	<!-- Support  -->
	<xsl:template match="SUPPORT">
		<xsl:value-of select="."/>
	</xsl:template>


	<!-- DATA FORMATTING -->

	<xsl:template name="TOKEN_TABLE">
		<xsl:param name="category">Standard</xsl:param>
		<div class="tablediv">
			<table class="dtTABLE" cellspacing="0">
				<thead>
					<tr>
						<th width="25%">Token</th>
						<th width="75%">Description</th>
					</tr>
				</thead>
				<tbody>
					<!--
								<xsl:value-of select="$category"/>
							-->
					<xsl:apply-templates select="DATAFORMATTING">
						<xsl:with-param name="category">
							<xsl:value-of select="$category"/>
						</xsl:with-param>
					</xsl:apply-templates>
				</tbody>
			</table>
		</div>
	</xsl:template>
	<xsl:template match="DATAFORMATTING">
		<xsl:param name="category">Standard</xsl:param>
		<xsl:apply-templates select="FORMAT_TOKEN">
			<xsl:with-param name="category">
				<xsl:value-of select="$category"/>
			</xsl:with-param>
		</xsl:apply-templates>
	</xsl:template>
	<xsl:template match="FORMAT_TOKEN">
		<xsl:param name="category">Standard</xsl:param>
		<xsl:if test="CATEGORY=$category">
			<tr>
				<td>
          &lt;<xsl:value-of select="./TOKEN"/>&gt;
        </td>
				<td>
					<xsl:value-of select="./GUI_NAME"/>
				</td>
			</tr>
		</xsl:if>
	</xsl:template>
</xsl:stylesheet>
