[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: no closing tag on embed with if, attribute,

Subject: Re: no closing tag on embed with if, attribute,
From: Mario Madunic <hajduk@xxxxxxxx>
Date: Mon, 3 Dec 2007 10:38:37 -0800
Re:  no closing tag on embed with if
Check to see if it closed like the following

<embed src="fc14-04/audio/08100.mp3" autoplay="false" type="audio/mpeg"
height="16" width="70" controller="true"/>

Mario

Quoting Jared Stein <STEINJA@xxxxxxxx>:

> Hi folks, I've got the following in my XSL:
> ...
> 
> <xsl:if test="answer/wording/@audio">
>    <embed xsl:use-attribute-sets="set_mp3">
>       <xsl:attribute name="src">
>          <xsl:value-of select="answer/wording/@audio"
> disable-output-escaping="yes" />
>       </xsl:attribute>
>    </embed>
> </xsl:if>
> 
> ...
> 
> Two problems: first, while the same HTML markup for embed loads the
> audio file fine, when put into XSL it doesn't load--the page on load
> show the Quicktime logo as it loads, but the controller and the audio
> file do not show.
> 
> Also, if I look at the HTML that is generated by the XSL, though the
> embed opening tag is created as requested with the appropriate
> attribute, the embed element generated does not close. That is, there is
> neither a closing tag nor self-termination:
> 
> <embed src="fc14-04/audio/08100.mp3" autoplay="false" type="audio/mpeg"
> height="16" width="70" controller="true">
> 
> Am I not doing something correctly here?
> 
> Jared Stein
> 
>    Director of Instructional Design Services
>    Utah Valley State College, MS 149
>  
> Teaching w/ Technology Idea Exchange 2008: The Open Conference
>    Submit your presentation proposal now! http://www.ttix.org

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.