logo       

Re: Re[2]: XMLC decided to change the HTML structure: msg#00044

java.enhydra.xmlc

Subject: Re: Re[2]: XMLC decided to change the HTML structure

On Čt, 2002-12-19 at 01:08, Jacob Kjome wrote:
> I realize you worked this out by adding in a new copy of the XHTML1
> dtd

yes

> This shouldn't be a showstopper for the <title> element. By dtd
> definition, there can be only one title element in the entire
> document. This would be tantamount to adding an "id" attribute to the
> <html> or <body> element.

that's true. I knew how to get the body element though it takes a few
calls.

> another. Elements that are already unique to a document are, by
> definition, distinguished. Just get them through standard DOM access.

:-O you're right - there's HTMLDocument.getTitle() method available
without any fiddling with "id=title". I was blind, thanks for opening my
eyes.

Nevertheless the XMLC in Enhydra 5.x ("Enhydra XMLC version 2.1 alpha")
should get a newer xhtml DTD, anyway.

Petr


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise