Subject: xmlns invalid? xt or XSLT problem?
From: DPawson@xxxxxxxxxxx
Date: Fri, 1 Oct 1999 15:31:50 +0100
|
Producing an html output from xml, I get the
doctype and html elements as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/TR/REC-html40">
nsgmls tells me that according to the DTD specified,
there is no attribute xmlns.
Errr.... is James .....mistaken here
or, as is usually the case, am I wrong in putting
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
xmlns="http://www.w3.org/TR/REC-html40"
result-ns=""
indent-result="yes"
default-space="preserve">
<xsl:output method="html" encoding="utf-8"/>
at the top of my stylesheet.
Regards, DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|