Women in Technology

Hear us Roar



Article:
  XML Transformations with CSS and DOM
Subject:   Working example
Date:   2002-10-28 02:31:09
From:   anonymous2
I just wanted to mention that the working example is not working in Mozilla 1.1 on Win32.


I checked with the debugger, the script does not appear to be loaded.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Working example
    2003-06-09 10:49:39  anonymous2 [View]

    This is due to an error in the JavaScript

    In the css.js file replace the line
    newLinkElm.setAttributeNS(xhtml,"href",linkURL);
    by :
    newLinkElm.setAttributeNS("","href",linkURL)

    http://bugzilla.mozilla.org/show_bug.cgi?id=184744

    The only reason this works in 1.0 is that 1.0 has a bug in the handling of attribute namespaces.