Lists Home |
Date Index |
Thanks for your answer. ... But I'm not completely happy with it
for a couple reasons:
1) I don't think there *is* a recognized namespace for docbook.
2) It can only tell me a xhtml-RDDL document is an xhtml document.
"DuCharme, Bob (LNG)" wrote:
> If you know the name of the root element, and you know the
> namespace that it's from, then you know a hell of a lot about the potential
> processing that you can do with that document. As you pointed out, knowing
> the name of the root element ("It's a chapter") doesn't always tell you all
> you need to know and knowing the namespace alone ("list the docbook
> documents") doesn't either, but the root element and its namespace together
> (a chapter from the docbook DTD) tells you a great deal about what you can
> do with it.