Subject: Re: IE Client side transformation issue
From: pankaj singla <pinkoo_78@xxxxxxxxx>
Date: Sat, 28 Jul 2007 23:02:23 -0700 (PDT)
|
Hi,
We face similar problem. But it happened only in
Win2003 SP2 IE6/IE7. Unfortunately, we haven't found
any fix to it.
Could you confirm which OS ans SP you are using ?
--- Ilya Sterin <sterini@xxxxxxxxx> wrote:
> 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
>
>
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
|