|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] IE Client side transformation issue
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|







