[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] more on "subelement signicance"
- From: "DuCharme, Bob (LNG)" <firstname.lastname@example.org>
- To: xml-dev <email@example.com>
- Date: Wed, 03 Oct 2001 16:40:04 -0400
Seairth Jacobs wrote:
>The usefulness of any given subelement is due to the knowledge of its
>namespace, document type, and/or parent element. Without any of the
>three the subelement does not have a useful meaning.
I can think of many specific questions, but I'll start with the general
1. Why subelement? Why not "The usefulness of any given element"?
2. The "and/or" confuses me. Are you saying that, for a (sub)element to have
some meaning, one or more of (namespace, document type, parent element) must
be known? That if only one is known, the element may have some usefulness?
(I'm not arguing this point, just looking for some clarification.)
Now I'll argue: there are certain element type names used often enough in
enough contexts that their usefulness can be inferred without knowing either
their namespace, document type, or parent, e.g. xref and emph. (I would rule
out h1, <a href=""/>, and p as examples because we generally do assume a
particular doctype for them based on common usage.)
Bob DuCharme www.snee.com/bob <bob@
snee.com> see http://www.snee.com/bob/xsltquickly for
info on new book "XSLT Quickly" from Manning Publications.