Jump to content

AVI Export with XSLT ?


AJ75

Recommended Posts

Hi,is it possible to make an AVI Export with XSLT ?I have an xml-file which includes links to html-file with avi files.Now I would like to export the avi-files with XSLT.Is it possible ?? And how can I make it ??Thanx !AJ

Link to comment
Share on other sites

What do you mean by "export"? If you want a link to it, you could always do something like

<xsl:variable name="href" select="XPath to the node containing the URL to the video" /><a href="{$href}"><xsl:value-of select="title of the movie if there is one?" /></a>

And if you want to embed it in the XHTML output, you could use the <object>.

<xsl:variable name="name" select="XPath to the node containing the name of the video" /><xsl:variable name="href" select="XPath to the node containing the URL to the video" /><objectclassid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"><param name="{$name}" value="{$href}" /></object>

P.S. Not sure which videos is this classid going to play...If I haven't understood correctly, please paraphrase yourself.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...