xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] getElementById (not again.... I know, but..)
- From: John Cowan <cowan AT ccil.org>
- To: Elliotte Harold <elharo AT metalab.unc.edu>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] getElementById (not again.... I know, but..)
- Date: Sun, 8 Oct 2006 01:38:15 -0400
Elliotte Harold scripsit:
> That's the rub. It doesn't. There are quite a few different ways to
> define IDs, some used in the same documents. For instance is an id
> attribute in an HTML document without a DTD an ID or not?
No, it isn't. An attribute is of type ID if and only if one or more of
the following is true:
a) it is declared in the document's DTD as being of type ID, whether
or not XML validation is being done;
b) it is declared in an XML Schema as being of type xs:ID, and XML
Schema validation is being done;
c) the attribute is named "xml:id".
--
John Cowan cowan AT ccil.org http://ccil.org/~cowan
It's the old, old story. Droid meets droid. Droid becomes chameleon.
Droid loses chameleon, chameleon becomes blob, droid gets blob back
again. It's a classic tale. --Kryten, Red Dwarf
-
[XOM-interest] getElementById (not again.... I know, but..),
Jan Venema, 10/07/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Elliotte Harold, 10/07/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Tatu Saloranta, 10/07/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Elliotte Harold, 10/07/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
John Cowan, 10/08/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Elliotte Harold, 10/08/2006
-
[XOM-interest] XSLTransform error,
peter murray-rust, 10/08/2006
- Re: [XOM-interest] XSLTransform error, Elliotte Harold, 10/08/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Tatu Saloranta, 10/09/2006
- Re: [XOM-interest] getElementById (not again.... I know, but..), John Cowan, 10/09/2006
- Re: [XOM-interest] getElementById (not again.... I know, but..), Tatu Saloranta, 10/09/2006
- Re: [XOM-interest] getElementById (not again.... I know, but..), John Cowan, 10/09/2006
-
[XOM-interest] XSLTransform error,
peter murray-rust, 10/08/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Elliotte Harold, 10/08/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
John Cowan, 10/08/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Elliotte Harold, 10/07/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Tatu Saloranta, 10/07/2006
-
Re: [XOM-interest] getElementById (not again.... I know, but..),
Elliotte Harold, 10/07/2006
Archive powered by MHonArc 2.6.24.