Click to See Complete Forum and Search --> : XML for-each doesn't seem to work on IE 5.5
gil davis
08-23-2003, 03:36 PM
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.
Exuro
08-24-2003, 12:32 AM
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 :(.
gil davis
08-24-2003, 07:50 AM
Originally posted by Exuro
It works fine in IE6 and Mozilla 1.4.Thank for the sanity checkMaybe 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.
Khalid Ali
08-25-2003, 01:41 AM
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..