![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Highlight words? >Thread Next - Re: Highlight words? Re: Highlight words?To: NULL Date: 5/2/2006 7:29:00 PM
Julius Mong wrote:
> OK I've tried that before, problem is it returns undefined. I tried this:
>
> document.getElementsByTagName('body')[0]
>
> I get undefined, I tried:
>
> document.getElementsByTagName('html')[0].childNodes[0] // or firstChild
>
> I get object HTMLHeadElement
That sounds rather odd. Does the XSLT stylesheet generate a body
element? Do you call
document.getElementsByTagName('body')[0]
after the document has been loaded?
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
