[
Lists Home |
Date Index |
Thread Index
]
Mike Champion <mc@xegesis.org> wrote:
| I can understand the desire for implementers to choose one or the other,
| and can appreciate the conceptual integrity of a "pure tree" view.
An essential part of the conceptual integrity is that it doesn't really
matter what the "pure tree" *looks* like.
| On the other hand, as a user of this stuff I fequently latch onto
| x.innerXML = "<example>Raw DOM is <b>too</b> tedious</example>";
If I asked, why couldn't that be something like
x.innerXML = (example){Raw DOM is (b){too} tedious} ;
will you at once say, "But those aren't tags!!!" ?
This is where conceptual integrity comes in. Imagine a world where you
didn't know know what tags looked like and more importantly, you didn't
even have to care.
The more you lean on perceptual crutches like InnerXML, the farther you
stay away from a conceptual world where you can focus on the what needs to
be done without sweating the how.
|