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: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Tatu Saloranta <cowtowncoder AT yahoo.com>
- Cc: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] getElementById (not again.... I know, but..)
- Date: Sat, 07 Oct 2006 12:59:53 -0400
Tatu Saloranta wrote:
Not that I have immediate need for this myself, but I
am curious as to what would be the complex part with
this: is it just that XOM doesn't currently build the
hash from id (DTD/schema/RNG defined type ID for an
attribute, or Xml:id implied type), and thus this
might result in a linear search?
Detecting id attributes should be easy enough,
provided that the low-level parser provides type info.
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?
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
-
[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.