Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: problems

From: Philip@-----------.---------.---
To: NULL
Date: 10/6/2006 12:51:00 AM

Hi,

Well, yes for the initial transformation of the xml data, xml 3 would be 
used, then there are further transformations kicked off by events on the 
client side.

I don't think the problem is really xsl related, but before I tried to use 
<xsl:apply-imports> to seperate some of the code, the javascript didn't throw 
an error.

Now I get an error 'null is null or not an object' in the procedure that is 
executed duing BODY onload

So I think that the complete DOM has not finished loading into IE, but theat 
procedure runs anyway, and cannot find the object it is trying to change.

Is there some way to check if the xsl transformation is complete (including 
all imported sheets) and the DOM is complete before I run any more javascript 
code?

Thanks for your help, I know I am not explaing this very well, but your 
questions are forcing me to explain it better

Philip
"Martin Honnen" wrote:

> 
> 
> Philip wrote:
> 
> 
> > Yes it's javascript on the client that runs from the HTML BODY onload event.
> > 
> > The xsl transformation happens on the client I believe, as the server just 
> > sends xml with the xml-stylesheet defined.
> > 
> > We are using MSXML4.
> 
> If you send XML with <?xml-stylesheet?> to the client then IE 6 and 
> later use MSXML 3 to run the transformation. Why do you say "we are 
> using MSXML 4"?
> 
> And if the problems occur with JavaScript and the body onload event, why 
> do you think the problem is XSLT related or related to 
> <xsl:apply-imports>? Does the script run additional transformations?
> 
> 
> -- 
> 
> 	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