|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: no xmlns attribute in the xsl 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








