Subject: [xsl] IE Client side transformation issue From: "Ilya Sterin" <sterini@xxxxxxxxx> Date: Sat, 28 Jul 2007 23:41:13 -0400 |
We have an application that does client side transformation. All works fine in FF and the transformation itself seems to work fine in IE. The problem that we're having is with the onload handler. Seems like although the transformation succeeds, the DOM is not available, though the javascript onload handler is executed, but any document.getElementById fail. I can search for any div or other element by id and the return is always null, though when looking at the source of the transformation, the div element with that ID exists. Again, this works fine in FF, so it seems like IE is behaving differently in regards to DOM lifecycle/availability after the transformation succeeds. Does anyone have any ideas on what might be happening. I've experimented with numerous xsl:output options, below are some... <xsl:output method="xhtml" doctype-public='-//W3C//DTD HTML 4.01//EN' doctype-system="http://www.w3.org/TR/html4/strict.dtd"/> <xsl:output method="html" doctype-public='-//W3C//DTD HTML 4.01//EN' doctype-system="http://www.w3.org/TR/html4/strict.dtd"/> <xsl:output method="html" encoding="iso-8859-1" /> <xsl:output method="xml" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" indent="yes" omit-xml-declaration="yes" media-type="text/html"/> <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="DTD/xhtml1-transitional.dtd" indent="yes"/> --> <xsl:output method="xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" encoding="UTF-8" omit-xml-declaration="yes" indent="yes"/> --> <xsl:output method="xhtml" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="DTD/xhtml1-strict.dtd" cdata-section-elements="script style" indent="yes" encoding="ISO-8859-1"/> --> <xsl:output method="xml" media-type="application/xhtml+xml" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" indent="yes"/> Ilya
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Tunnelled params and vari, Justin Johansson | Thread | Re: [xsl] IE Client side transforma, M. David Peterson |
Re: [xsl] Tunnelled params and vari, Justin Johansson | Date | Re: [xsl] IE Client side transforma, M. David Peterson |
Month |