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

XHTML (WAS: Re: no xmlns attribute in the xsl dtd?)

Subject: XHTML (WAS: Re: no xmlns attribute in the xsl dtd?)
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Tue, 02 Mar 1999 10:21:12 -0500
no xmlns
At 11:24 AM 3/2/99 +0100, Chris Lilley wrote:
>"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.

I noticed that the XHTML WD (19990224) specifies that all elements must be
in lowercase. This made sense -- since XML is case-sensitive, the WG had to
pick either upper or lower -- but it also made me curious about something:
How, in an SGML DTD, does one specify that the case of a given tag is not
significant?

(Please forgive the non-XSL question.)


=============================================================
John E. Simpson          | It's no disgrace t'be poor, 
simpson@xxxxxxxxxxx      | but it might as well be.
                         |            -- "Kin" Hubbard


 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.