|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xmlns invalid? xt or XSLT problem?
If you are doing this: > <xsl:output method="html" encoding="utf-8"/> then you are using the latest draft so shouldn't be doing this: > result-ns="" which means that you don't absolutely need to do this: > xmlns="http://www.w3.org/TR/REC-html40" and if you don't do that everything will be fine. However even at the best of times may still get this: > nsgmls tells me that according to the DTD specified, > there is no attribute xmlns. To a namespace aware processor <html:html xmlns:html=... > and <html xmlns=... > are equivalent expressions, but a validating XML parser using a DTD that has an `html' element is going to moan about html:html. And will moan about extra namespace attributes added as well if the dtd was written before the namespace spec and doesn't allow xmlns everywhere. Basically in namespace world, you give up on DTD validation and pray for schemas (or something). David 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








