Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Client Side XSL/JavaScript & MediaPlayer Issue

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 3/14/2009 2:07:00 PM
BradR wrote:
> We have an app that's all client-side xslt & Java Script. For some
> unknown reason in IE7 (haven't tested in older versions) when I have
> 
> [code]
> . . .
> 
> myvar='<object id="MediaPlayer1" classid="CLSID:22D6f312-
> B0F6-11D0-94AB-0080C74C7E95" standby="{$standby}" type="application/x-
> oleobject" height="{$finalPlayerHeight}" width="{$finalPlayerWidth}">
>  <param name="FileName" value="myfile"><param name="ShowControls"
> value="true"><param name="AutoRewind" value="True"><param
> name="AutoStart" value="true"></object>';
> 
> mydoc.innerhtml = myvar;

Is that supposed to be JavaScript? What is mydoc? A document object? The 
HTML document object does not have a a property named innerhtml, nor 
does it have a property named innerHTML.

> mydoc.innerhtml ends up with just:
> 
> [code]
> <object id="MediaPlayer1" classid="CLSID:22D6f312-
> B0F6-11D0-94AB-0080C74C7E95" standby="{$standby}" type="application/x-
> oleobject" height="{$finalPlayerHeight}" width="{$finalPlayerWidth}"></
> object>";
> [/code]
> 
> the PARAM tags are all missing.

I am not sure how your problem relates to XSLT, the topic of this 
newsgroup but you at least need to explain what mydoc is and why you are 
trying to set a property named 'innerhtml' while the IE HTML DOM only 
has a property named 'innerHTML' on element objects.



-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent