SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Perundurai, Tamilnadu, India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    document.XSLDocument is not working in Firefox, but works in IE

    document.XSLDocument is not working in Firefox, but works in IE

    Code:
    rpt = parent.frames['report'];
    xmlDoc = rpt.document.XMLDocument;
    xslDoc = rpt.document.XSLDocument;
    filtervar = xslDoc.selectSingleNode("//xsl:variable[@name='xyz']");
    It is giving as undefined error, how to get XSL object from dynamically load xml/xsl content, so i can format XML/XSL in client side itself.

  2. #2
    SitePoint Enthusiast TriLLi's Avatar
    Join Date
    Feb 2010
    Location
    BiH, Bugojno
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi,

    maybe you have problem with firefox XHTML handling. Basically, when XHTML is case sensitive and all tags are lowercase, so when firefox receive document he execute method that converts all tags to lowercase which can cause errors.

    I'm not sure that this issue is also in your code, but this can help.
    http://www.wiseblog.info
    Programmers don't die, they just GO SUB without return.

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Perundurai, Tamilnadu, India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am using frameset doctype

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •