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: Tatu Saloranta <cowtowncoder AT yahoo.com>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] getElementById (not again.... I know, but..)
- Date: Sat, 7 Oct 2006 09:56:17 -0700 (PDT)
--- Elliotte Harold <elharo AT metalab.unc.edu> wrote:
> Jan Venema wrote:
> > No getElementById?
> >
> > I thougth ID was special in XML.
...
> IDs are very tricky in XML. Not everything that
> looks like an ID is. I
> might be one day convinced to add this, but right
> now I think it's best
> just to use XPath.
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.
-+ Tatu +-
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
[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.