Dave,
> There is a DTD at http://www.openebook.org/dtds/oeb-1.0/oebdoc1.dtd
> [...]
> Problem.
>
> With the document and stylsheet as given,
> the html template never triggers.
>
> If I remove the doctype from the document,
> leaving it well formed, it triggers.
The DTD contains the declaration
<!ATTLIST html
%InternationalAttributes;
xmlns %URI; #FIXED
"http://openebook.org/namespaces/oeb-document/1.0/"
xmlns:xlink %URI; #FIXED "http://www.w3.org/XML/XLink/"
>
I.e. with DOCTYPE the html element is in the namespace "http://openebook ...",
without it it's in the null namespace.
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- DTD or no DTD?
- Pawson, David - Thu, 31 Aug 2000 09:22:33 +0100
- <Possible follow-ups>
- Oliver Becker - Thu, 31 Aug 2000 11:34:33 +0200 (MET DST) <=
|
|