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: Zeljko Rajic <zeljko dot rajic at brokat dot com>
- Date: Wed, 18 Apr 2001 15:29:20 +0200
- Organization: Brokat AG
- References: <000301c0c801$180531d0$1c323c3e@PCUKMKA>
- 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.
I couldn't find the SVG thread in the archive! :(
In case the problem are the FIXED attribute values, how might a solution
look like (e.g. for the example I posted). I must admit that I'm a XML
novice and haven't got a deep knowledge about XML namespaces! :( Thus
it would be great if you could give me some 'hands-on' tips to solve the
problem.
Thanks in advance !
- Zeljko
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list