Dan Cederholm wrote:
Hello - I'm generating xhtml documents with xslt. My xml source document
has several namespaces (dc:, rdf:, etc.). I realize I must declare these
in the xsl stylesheet, along with the xhtml default namespace. The problem
is, all the namespace declarations are put within the <html> tag thereby
breaking validation of the result page.
You'll probably need
<xsl:stylesheet ...
exclude-result-prefixes="dc rdf">
Check the spec for details:
http://www.w3.org/TR/xslt#stylesheet-element
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list