dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: XML for-each doesn't seem to work on IE 5.5

  1. #1
    Join Date
    Nov 2002
    Posts
    4,473

    XML for-each doesn't seem to work on IE 5.5

    I have an example from a NetG XML course that uses the for-each transform. The example works fine on NS 7, but it won't show any of the data on IE 5.5. I have tried to look through the Microsoft XML, but I haven't found anything that would help me.
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2002
    Location
    Taiwan
    Posts
    1,297
    It works fine in IE6 and Mozilla 1.4. Maybe the syntax used in the example isn't supported in IE 5.5. It looked a little strange to me... For example, why do you have a "./" in front of the element names? I don't believe those are required... I have IE6 on all my computers, so I can't test anything, sorry .
    The Web Standards Project Build accessible standard compliant websites, please!
    Browse Happy Don't forget to support the browsers with standard compliance

  3. #3
    Join Date
    Nov 2002
    Posts
    4,473
    Originally posted by Exuro
    It works fine in IE6 and Mozilla 1.4.
    Thank for the sanity check
    Maybe the syntax used in the example isn't supported in IE 5.5. It looked a little strange to me... For example, why do you have a "./" in front of the element names? I don't believe those are required.
    Like I said, it was an example from a tutorial. AFAIK, the current object in the template is "/books/book/", so the "./" moves the reference root back to "book" so it can find the next child element.

  4. #4
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,140
    Problem possibly can be because of the IE interprets the DOM elements

    in NS every elements has an text node ,where as I think I E does not see that,hence causing some problem in referencing the rot elements of the current element.

    I'll take a look at your example source some time morrow and let you know if I can make some sense out of it..
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles