[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XML source with DOCTYPE declaration


Subject: Re: [xsl] XML source with DOCTYPE declaration
From: Zeljko Rajic <zeljko.rajic@xxxxxxxxxx>
Date: Wed, 18 Apr 2001 15:29:20 +0200

> > 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



Current Thread
Keywords