RE: [xsl] Extra xmlns=""

Subject: RE: [xsl] Extra xmlns=""
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Tue, 17 Jul 2001 07:58:15 +0200
> My stylesheet is taking a no-namespace DocBook tree and parsing
> it into an XHTML file, with a single namespace declaration in the
> <html> tag, with no namespace prefix (that is, xmlns="whatever
> the URI is for XHTML").

Guess: you have the XHTML namespace declaration in a template, while other
HTML elements appear in templates where this namespace declaration is
out-of-scope.

> > If two processors produce output files that are materially
> different in their namespace declarations, then one of them is wrong.
>
> Does extra namespace undeclaration count as materially different?

Definitively.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread