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
/
LINKEDIMAGE.XCT
< prev
next >
Wrap
Extensible Markup Language
|
2010-03-29
|
3KB
|
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"><xsl:output method="html"></xsl:output><xsl:param name="XPath"></xsl:param><xsl:param name="IsSecondaryDS"></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="attributeXPath" select="xd:aj_getPropByName('attributeXPath')"></xsl:variable><xsl:template match="*|@*"><IMG CLASS="xdLinkedPicture" xd:CtrlId="{$scriptingID}" xd:xctname="LinkedImage" xd:aj_bound0="src" xd:aj_bound1="displaytext" xd:aj_tabIndex="0" tabIndex="0"><xsl:choose><xsl:when test="$XPath"><xsl:attribute name="HIDEFOCUS">true</xsl:attribute><xsl:attribute name="xd:aj_type">0</xsl:attribute><xsl:attribute name="xd:aj_attrtype_src">text</xsl:attribute><xsl:attribute name="xd:aj_uniqueid_src"><xsl:value-of select="xd:aj_getNodeID(.)"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:aj_node_src"><xsl:value-of select="$XPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:binding"><xsl:value-of select="$XPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:boundProp">src</xsl:attribute><xsl:attribute name="tabStop">true</xsl:attribute><xsl:attribute name="src"><xsl:value-of select="."></xsl:value-of></xsl:attribute><xsl:if test="$attributeXPath"><xsl:attribute name="xd:aj_type_secondary">0</xsl:attribute><xsl:attribute name="xd:aj_attrtype_displaytext">text</xsl:attribute><xsl:attribute name="xd:aj_uniqueid_displaytext"><xsl:value-of select="xd:aj_getNodeID(attribute::*[1])"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:aj_node_displaytext"><xsl:value-of select="$attributeXPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:binding_secondary"><xsl:value-of select="$attributeXPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:boundPropSecondary">displaytext</xsl:attribute><xsl:attribute name="displaytext"><xsl:value-of select="attribute::*[1]"></xsl:value-of></xsl:attribute></xsl:if><xsl:choose><xsl:when test="not($IsSecondaryDS)"><xsl:attribute name="alt"><!-- _locID_text="LinkedImageAltText" _locComment="{StringCategory=TXT}" -->Click here to insert a picture</xsl:attribute></xsl:when><xsl:otherwise><xsl:attribute name="xd:disableEditing">yes</xsl:attribute><xsl:attribute name="disabled">true</xsl:attribute></xsl:otherwise></xsl:choose></xsl:when><xsl:otherwise><xsl:attribute name="alt"><!-- _locID_text="CompUnBoundText1" _locComment="{StringCategory=TXT}" -->Unbound Picture</xsl:attribute></xsl:otherwise></xsl:choose></IMG></xsl:template></xsl:stylesheet>