-
[xsl] open a media file?
Hi all,
I'm using a web browser to open a html in VB,
WB.Navigate App.Path + "\sample.html"
The html contains scripts which loads a xml file (data.xml) with style.xsl.
In the xsl file, I could successful open the email address in Outlook with the following codes.
Code:
<xsl:template match="email">
<IMG SRC = "image1.jpg"/><a href="mailto:{.}"><xsl:value-of select="."/></a><br/>
</xsl:template>
what about if the link is a media file like .avi file?
Greatly thanks!
-
I've found the solution already, thx!
<xsl:template match="video">
<a href="{.}">Video</a>
</xsl:template>