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

Re: no xmlns attribute in the xsl dtd?

Subject: Re: no xmlns attribute in the xsl dtd?
From: Chris Lilley <chris@xxxxxx>
Date: Tue, 02 Mar 1999 11:24:57 +0100
xmlns dtd

"Mark D. Anderson" wrote:
> [attribution lost wrote]:
> >furthermore, it is not clear how you would validate your document anyway
> >given that it includes names from the HTML 4.0 vocabulary as well as those
> >from the XSL vocabulary. The DTD in the spec only covers the latter which,
> >in effect, means it cannot be used to validate a stylesheet.
> 
> so much for my next question, which is what to do about all those other errors :).
> c:/software/sp-1.3/bin/nsgmls:html.xsl:10:5:E: element "html" undefined
> c:/software/sp-1.3/bin/nsgmls:html.xsl:10:11:E: element "head" undefined
> c:/software/sp-1.3/bin/nsgmls:html.xsl:10:18:E: element "title" undefined
> 
> so is there a solution here?

You could, if you were brave, write a merged DTD which included the XSL
DTD and the XHTML DTD and treated the namespace prefixes opaquely. Then,
as long as you don't use namespace defaulting and always use the same
namespace prefix, you can validate using traditional tools.

--
Chris



 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-2013 All Rights Reserved.