Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Problem with Firefox?

From: richard@------.--.--.-- (------- -----)
To: NULL
Date: 5/5/2008 11:54:00 PM

In article <6u1v14l5mg1k3pkco97t8i4daafmohb968@4...>,
Dennis  <nobody@n...> wrote:

>I am in the process of converting some program output from HTML to
>XML/XSLT. I have an XSL stylesheet that inserts some javascript in the
>output that gets called further down to pop up a window). It works fine
>in IE6 but not in Firefox/Netscape. See...
>
>http://kowallekfamily.com/genealogy/reports/desc-3817.xml
>
>It is the Note link (just to the right of Henry Bales) which is supposed
>to pop up a window. In Firefox this link even looks strange (note the
>space between the word "Note" and its underscores.

Look at the Firefox Error Console.  It probably says that NewNote is
not defined.  I think this is because you are putting your Javascript
inside a comment.  This was common in the days when some browsers
didn't understand <script>, but it makes no sense when you are using
XSL.  Probably the browser is just ignoring comments generated by XSL.

(I suspect that IE effectively writes out the result of the transform
as text and then reparses it as an HTML document, while Firefox uses
the result tree directly.)

The space between "Note" and the underline isn't surprising: the word
is inside <sup>.  Put the <sup> around the whole <a> if you want the
link itself to be a superscript.

-- Richard
-- 
:wq


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