This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL => SMIL?
- To: "xsl-list at lists dot mulberrytech dot com" <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] XSL => SMIL?
- From: HeHangjun <sameulhe at 163 dot net>
- Date: Mon, 25 Jun 2001 23:28:25 +0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
Roger
Yeah£¬it is
>Hi there
>
>I am trying to output a SMIL with XSL, but I am unsure if this is even
>possible. I just read that with Boston SMIL and integration of XHTML and
>SMIL will probably become possible. But right now, is it possible to output
>SMIL directly?
>
>My XSL looks like this:
>
><?xml version="1.0" ?>
><xsl:stylesheet
> version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
><xsl:output
> method="xml"
> indent="yes"
> media-type="application/smil"
> />
>
>
>
><xsl:template match="/">
><smil>
> <head>
> <meta name="author" content="Roger"/>
> <meta name="title" content="{iba/page/Section/Page/title}"/>
> <meta name="copyright" content="2000"/>
>
> <layout>
> <root-layout height="240" width="320"/>
> <region id="video" left="0" top="0" height="240" width="320" z-index="1"
>fit="fill"/>
> <region id="transcript" left="0" top="210" width="320" height="25"
>fit="fill" z-index="2" />
> </layout>
> </head>
> <body>
> <xsl:apply-templates select="iba/page/Section/Page/Document"/>
> </body>
></smil>
></xsl:template>
>
></xsl:stylesheet>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Best regard
HeHangjun
sameulhe@163.net
hehangjun@sina.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list