Re: innerHTML/outerHTML properties and preservation of literal text

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dave (dspaar_at_aol.com)
Date: 06/17/04


Date: 17 Jun 2004 06:53:44 -0700

v-kevy@online.microsoft.com (Kevin Yu [MSFT]) wrote in message news:<vQpdumFVEHA.3440@cpmsftngxa10.phx.gbl>...
> Hi Dave,
>
> I'd like to know if this issue has been resolved yet. Is there anything
> that I can help. I'm still monitoring on it. If you have any questions,
> please feel free to post them in the community.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."

Hi Kevin,

The issue hasn't been resolved per se, but has become somewhat
obsolete in a sense. I was trying to figure a way to grab the literal
text of an XML Data Island and insert it into a Flash movie. The
reason I was doing this is because I found (after nine months of
development on Windows XP with IE exclusively) that XML Data Islands
are not supported in Internet Explorer for the Mac. None of my
research into this revealed this fact beforehand, although I only
looked at the Data Island documentation and not the IE Mac
documentation...which still wouldn't have conveyed to me that it
wasn't supported, since XML 1.0 is listed as a supported feature for
IE Mac 5.2.3 (and that basically meant nothing to me at the time I
read it).

So I thought I'd use a custom object created in Flash to load the text
of the XML and use Flash's internal XML object model and custom code
to manipulate the data as needed. But alas, although I was able to
prototype a Flash object that did exactly what I wished in IE on
Windows, again it had no functionality on IE for Mac.

The end result is that my research has lead me to conclude that there
is no way to modify our existing system and make it functional on IE
for both platforms without major rewrites of almost all sections of
the code. I've implemented Data Islands everywhere, so I will have to
substitute JavaScript arrays for the functionality and somehow rewrite
the undeniably handy logic in my client functions that implements
"selectSingleNode" and "selectNodes" methods. Since this looks to be
the only way to obtain the functionality I need on IE for the Mac, the
idea of retrieving literal HTML from an XML data island (which the DOM
for IE for Mac can recognize with a "getElementById" call) has been
superceded by other factors.

I hope I don't sound too bitter about all this, I know I should have
had someone with a Mac test this stuff right from the start, but I
foolishly assumed that there was some level of compliance to at least
an internal standard for product development for IE. Now I see that
only by following DOM 1.0 can I really be assured of cross platform
reliability...which is ok, because then users of other DOM 1.0
browsers and platforms will be able to utilize my web application.

Thanks for taking the time to track this issue, and if you do have any
suggestions on how to work around this I'd appreciate it, but from
what I've seen and read it seems that there is only one recourse...

Peace!
Dave Spaar



Relevant Pages

  • Problem binding PivotControl with XML data island recordset
    ... Using the sample html code below ... 'Obtain a string that represents the XML data island. ... Set oRS = CreateObject ...
    (microsoft.public.office.developer.web.components)
  • Re: What a real computer does during a game....
    ... A measly 201 fps. ... Can you get this work on any Mac? ... Still nothing close to the functionality of this on OSX. ... "If you raise the ceiling 4 feet, move the fireplace from that wall ...
    (comp.sys.mac.advocacy)
  • Re: What a real computer does during a game....
    ... A measly 201 fps. ... Can you get this work on any Mac? ... Still nothing close to the functionality of this on OSX. ... "If you raise the ceiling 4 feet, move the fireplace from that wall ...
    (comp.sys.mac.advocacy)
  • Re: What a real computer does during a game....
    ... A measly 201 fps. ... Can you get this work on any Mac? ... Still nothing close to the functionality of this on OSX. ... "If you raise the ceiling 4 feet, move the fireplace from that wall ...
    (comp.sys.mac.advocacy)
  • Re: Please add Microsoft feedback to your bookmarks bar
    ... and it adds functionality the PC lot ... Microsoft starts working out "what will this cost, ... 750,000 of them want a feature ... of our friends how much better Macs are, but to explain to all of our Mac ...
    (microsoft.public.mac.office.word)