[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DTD or no DTD?

Subject: Re: DTD or no DTD?
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 31 Aug 2000 11:34:33 +0200 (MET DST)
openebook dtd
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.