html - Automatically Open URL in an iframe (XSL) -
i using xsl create specific url different variables based on values in excel sheet. have working expect have click link created open url in iframe. hoping accomplish without click link load when page opened. here relevant piece of code:
<xsl:when test="fieldname[starts-with(., 'uniqueid')]"> <b> <a target="iframe"> <xsl:attribute name="href"> file:///c:/users/me/documents/<xsl:value-of select="fieldvalue"/>.html </xsl:attribute> <xsl:value-of select="fieldvalue"/> </a> </b> </xsl:when>
you can create directly iframe:
<xsl:when test="fieldname[starts-with(., 'uniqueid')]"> <iframe> <xsl:attribute name="src"> file:///c:/users/me/documents/<xsl:value-of select="fieldvalue"/>.html </xsl:attribute> </iframe> </xsl:when>
Comments
Post a Comment