home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / InfoPath.en-us / InfLR.cab / IPDSINTL.DLL_1033 / HTML / STRUCTUREDDATAOPTIONAL.XCT < prev    next >
Extensible Markup Language  |  2010-03-29  |  2KB  |  1 lines

  1. ∩╗┐<?xml version="1.0" encoding="UTF-8"?><!-- _lcid="1033" _version="" --><!-- _LocalBinding --><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"><xsl:output method="html"></xsl:output><xsl:param name="XPath"></xsl:param><xsl:param name="ChoiceGroupType"></xsl:param><xsl:param name="IsSecondaryDS"></xsl:param><xsl:variable name="fAttribute" select="xd:aj_getPropByName('fAttribute')"></xsl:variable><xsl:variable name="fTopLevelControl" select="xd:aj_getPropByName('fTopLevelControl')"></xsl:variable><xsl:variable name="scriptingID" select="xd:aj_getComponentID()"></xsl:variable><xsl:variable name="fDirLTR" select="xd:aj_getPropByName('fDirLTR')"></xsl:variable><xsl:template match="* | @*"><xsl:if test="$XPath"><DIV CLASS="xdSection xdRepeating" TITLE="" TABINDEX="0" xd:aj_tabIndex="-1" xd:aj_indocui_tabIndex="0" xd:CtrlId="{$scriptingID}" xd:aj_uniqueid="{xd:aj_getNodeID(.)}" xd:aj_type="1" xd:aj_node="{$XPath}" xd:aj_mode="{xd:aj_getTemplateMode()}"><xsl:attribute name="ALIGN"><xsl:choose><xsl:when test="$fDirLTR">left</xsl:when><xsl:otherwise>right</xsl:otherwise></xsl:choose></xsl:attribute><xsl:attribute name="xd:xctname"><xsl:choose><xsl:when test="$ChoiceGroupType='1'">choiceterm</xsl:when><xsl:when test="$ChoiceGroupType='2'">choicetermrepeating</xsl:when><xsl:otherwise>Section</xsl:otherwise></xsl:choose></xsl:attribute><xsl:attribute name="STYLE">margin-bottom: 0px;width:<xsl:choose><xsl:when test="$fTopLevelControl"><xsl:value-of select="xd:aj_getPropByName('ViewWidth')"></xsl:value-of>;</xsl:when><xsl:otherwise>100%;</xsl:otherwise></xsl:choose></xsl:attribute><xsl:attribute name="xd:aj_nodematch"><xsl:choose><xsl:when test="$fAttribute"><xsl:value-of select="concat('@',name())"></xsl:value-of></xsl:when><xsl:otherwise><xsl:value-of select="name()"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:attribute><xsl:if test="not($IsSecondaryDS)"><xsl:attribute name="xd:aj_indocui_text"><!-- _locID_tags="DefaultPlaceholderText" _locComment="The following text needs to be localized." -->Click here to insert</xsl:attribute></xsl:if><DIV>┬á</DIV><DIV>┬á</DIV><DIV>┬á</DIV></DIV></xsl:if></xsl:template></xsl:stylesheet>