This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: handling media, xsl:variable problem
- From: "J.Pietschmann" <j3322ptm at yahoo dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Cc: n8_shaw at yahoo dot com
- Date: Wed, 01 May 2002 22:05:05 +0200
- Subject: Re: [xsl] handling media, xsl:variable problem
- References: <20020501191858.13752.qmail@web9806.mail.yahoo.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Nathan Shaw wrote:
> (I would appreciate a direct reply as I am a digester
> and am working with a tight deadline! Please remember
> to cc the list as well though!)
Tssk.
> I am trying to setup a template to handle MEDIA
> elements, which can be images, video or audio. I am
> trying to use a variable to store the actual img or
> embed tag to use later on in placement of the media
> file, but for some reason, the variable is coming out
> empty. If I add some basic text in the variable, it is
> captured and output as expected. So, it is just the
> img or embed tags that are being ignored/omitted for
> some reason...
Use <xsl:copy-of select="$media1"> instead or xsl:value-of.
Look into the spec for the difference.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list