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
/
STATICTEXT.XCT
< prev
next >
Wrap
Extensible Markup Language
|
2010-03-29
|
4KB
|
1 lines
<?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" xmlns:xdFormatting="http://schemas.microsoft.com/office/infopath/2003/xslt/formatting"><xsl:output method="html"></xsl:output><xsl:param name="XPath"></xsl:param><xsl:variable name="fConvert" select="xd:aj_getPropByName('fConvert')"></xsl:variable><xsl:variable name="scriptingID" select="xd:aj_getComponentID()"></xsl:variable><xsl:variable name="fInsideAnyTable" select="xd:aj_getPropByName('fInsideAnyTable')"></xsl:variable><xsl:variable name="fInsideAppendOnly" select="xd:aj_getPropByName('fInsideAppendOnly')"></xsl:variable><xsl:variable name="cAppendOnlyControl" select="xd:aj_getPropByName('cAppendOnlyControl')"></xsl:variable><xsl:template match="*|@*"><SPAN CLASS="xdExpressionBox xdDataBindingUI" TITLE="" xd:CtrlId="{$scriptingID}" xd:disableEditing="yes" xd:xctname="ExpressionBox" xd:aj_bound0="innerhtml" xd:aj_tabIndex="-1" tabIndex="0"><xsl:attribute name="STYLE"><xsl:choose><xsl:when test="$fInsideAnyTable">width:100%;</xsl:when><xsl:when test="$fInsideAppendOnly"><xsl:choose><xsl:when test="$cAppendOnlyControl = 1">width: 39%; margin-left: 0px; margin-right: 0px; overflow-y: hidden; white-space: nowrap; word-wrap: normal</xsl:when><xsl:when test="$cAppendOnlyControl = 2">width: 35%; margin-left: 0px; margin-right: 0px; overflow-y: hidden; white-space: nowrap; word-wrap: normal; text-align: right</xsl:when><xsl:when test="$cAppendOnlyControl = 3">width: 24%; margin-left: 0px; margin-right: 0px; overflow-y: hidden; white-space: nowrap; word-wrap: normal</xsl:when><xsl:otherwise>width:100%;</xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise>width: 145px;</xsl:otherwise></xsl:choose></xsl:attribute><xsl:choose><xsl:when test="$XPath"><xsl:if test="xd:aj_computeDataFormat(false(), .)"></xsl:if><xsl:variable name="strDataFormatCategory" select="xd:aj_getPropByName('dataFormatCategory')"></xsl:variable><xsl:variable name="strDataFormatSpec"><xsl:choose><xsl:when test="$fInsideAppendOnly and $cAppendOnlyControl = 3"><xsl:text>dateFormat:none;</xsl:text></xsl:when><xsl:otherwise><xsl:value-of select="xd:aj_getPropByName('dataFormatSpec')"></xsl:value-of></xsl:otherwise></xsl:choose></xsl:variable><xsl:if test="$strDataFormatCategory != ''"><xsl:attribute name="xd:aj_helper">xdFormatting:formatString</xsl:attribute><xsl:attribute name="xd:aj_param">"<xsl:value-of select="$strDataFormatCategory"></xsl:value-of>","<xsl:value-of select="$strDataFormatSpec"></xsl:value-of>"</xsl:attribute><xsl:attribute name="xd:datafmt">"<xsl:value-of select="$strDataFormatCategory"></xsl:value-of>","<xsl:value-of select="$strDataFormatSpec"></xsl:value-of>"</xsl:attribute></xsl:if><xsl:attribute name="xd:aj_type">0</xsl:attribute><xsl:attribute name="xd:aj_uniqueid_innerhtml"><xsl:value-of select="xd:aj_getNodeID(.)"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:aj_node_innerhtml"><xsl:value-of select="$XPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:aj_attrtype_innerhtml">text</xsl:attribute><xsl:choose><xsl:when test="$strDataFormatCategory != '' and function-available('xdFormatting:formatString')"><xsl:value-of select="xdFormatting:formatString(., string($strDataFormatCategory), string($strDataFormatSpec))"></xsl:value-of></xsl:when><xsl:otherwise><xsl:value-of select="."></xsl:value-of></xsl:otherwise></xsl:choose></xsl:when></xsl:choose></SPAN></xsl:template></xsl:stylesheet>