Re: [xsl] Reprocessing XHTML with XSLT

Subject: Re: [xsl] Reprocessing XHTML with XSLT
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Fri, 01 Nov 2002 02:31:28 +0000
Michael Kay wrote:
You'll probably find that harmless-looking XHTML DTD is declaring a
default namespace for you - a practice which should be punishable by

Certainly appears to:

<!-- the namespace URI designates the document profile -->

<!ELEMENT html (head, body)>
<!ATTLIST html
  xmlns       %URI;          #FIXED ''

However, editing the xmlns attribute out of the DTD doesn't fix the problem.

Removing the DocType Declaration from the instance fixes it. I thought
there might be a further entity reference with another copy of the
namespace declaration but running spam to expand the whole caboodle
and grepping for xmlns says not.

I wonder where it's coming from...


XSL-List info and archive:

Current Thread