From: "Tom Oehser" <[EMAIL PROTECTED]>
> What is the best workaround to select? I can hardcode the "Id".
Right now dom4j looks for attributes called "ID".
You could always create your own Element derivation, overriding the
String elementID(Element)
method to extract the ID in whatever ma
om: James Strachan <[EMAIL PROTECTED]>
> To: Tom Oehser <[EMAIL PROTECTED]>, Thomas Nichols <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [dom4j-user] elementByID problems
>
> Right now dom4j doesn't notice the attribute types when parsing XML w
ED]>
Sent: Monday, July 15, 2002 6:33 PM
Subject: Re: [dom4j-user] elementByID problems
>
> Note, they do have stuff in the DTD like:
>
>
> and
>
>
> Maybe w3c-dom works with this and dom4j doesn't?
>
> -Tom
>
> On Mon, 15 Jul 2002, Tom Oehser w
gt;
> Cc: [EMAIL PROTECTED]
> Subject: Re: [dom4j-user] elementByID problems
>
>
> They use "Id". -Tom
>
> On Mon, 15 Jul 2002, Thomas Nichols wrote:
>
> > Date: Mon, 15 Jul 2002 17:11:34 +0100
> > From: Thomas Nichols <[EMAIL PROTECTED]>
> >
They use "Id". -Tom
On Mon, 15 Jul 2002, Thomas Nichols wrote:
> Date: Mon, 15 Jul 2002 17:11:34 +0100
> From: Thomas Nichols <[EMAIL PROTECTED]>
> To: Tom Oehser <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: [dom4j-user] elementByID problems
>
Are you using an "ID" attribute, or "id"? From memory, at one stage dom4j
did not process the latter.
- Thomas.
At 10:59 15/07/2002 -0400, Tom Oehser wrote:
>Hi,
>
>I am converting existing w3c-dom stuff to dom4j.
>
>In the w3c stuff, there is code using "getElementById()".
>
>When I p