This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XML source with DOCTYPE declaration
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XML source with DOCTYPE declaration
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 18 Apr 2001 13:14:17 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I got some XML files I have to transform using XSLT. These
> XML files did
> not contain a DOCTYPE declaration. I made the XSLT stylesheet
> as it was
> requested and everything worked fine.
> Then I added a DOCTYPE declaration to the XML file. As it is an XHTML
> Basic document, I added:
It's probably the same as the SVG problem posted on this list a couple of
days ago: check whether the DTD includes any namespace declarations as FIXED
attribute values. If it does, then including the DTD changes the namespace
URI of your elements, which invalidates your stylesheet.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list