Re: [xsl] namespace problem

Subject: Re: [xsl] namespace problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 29 Aug 2006 13:29:27 +0100
> The only problem I still have, is
> that in the out docbook file there is already. My intention is to create a
> docbook file, which has the DTD part without the default namespace in the
> root element.

The namespace declaration is only there because you have generated
elements in that namespace. I think you don't want to generate elements
in a namespace at all, as I recall, docbook5 is the first version of
docbook to use a namespace and you appear to be using docbook4, So
simply change your stylesheet to generate elements in no namespace.

ie remove

from your stylesheet.

You can also remove
   xsi:schemaLocation=" ../xsd/xslt10.xsd

as they have no effect on the xsl transformation.


Current Thread