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 / INLINEIMAGE.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="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:template match="*|@*"><IMG CLASS="xdInlinePicture" HIDEFOCUS="true" xd:CtrlId="{$scriptingID}" xd:xctname="InlineImage" xd:aj_bound0="xd:inline" xd:aj_tabIndex="0" tabIndex="0"><xsl:variable name="UniqueID" select="xd:aj_getNodeID(.)"></xsl:variable><xsl:choose><xsl:when test="$XPath"><xsl:attribute name="xd:aj_type">0</xsl:attribute><xsl:attribute name="xd:aj_node_msoinline"><xsl:value-of select="$XPath"></xsl:value-of></xsl:attribute><xsl:attribute name="xd:inline"><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"></xsl:attribute><xsl:attribute name="xd:aj_uniqueid_msoinline"><xsl:value-of select="$UniqueID"></xsl:value-of></xsl:attribute><xsl:attribute name="tabStop">true</xsl:attribute><xsl:attribute name="xd:aj_tabIndex">0</xsl:attribute><xsl:if test="not($IsSecondaryDS)"><xsl:attribute name="alt"><!-- _locID_text="InlineImageAltText" _locComment="{StringCategory=TXT}" -->Click here to insert a picture</xsl:attribute></xsl:if><xsl:attribute name="src">msoinline/<xsl:value-of select="$UniqueID"></xsl:value-of></xsl:attribute></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>