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

IE Client side transformation issue

Subject: IE Client side transformation issue
From: "Ilya Sterin" <sterini@xxxxxxxxx>
Date: Sat, 28 Jul 2007 23:41:13 -0400
 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

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-2011 All Rights Reserved.