xsl-list
[Top] [All Lists]

Re: [xsl] xml to xhtml namespace problem

2011-01-11 04:39:45
Szabo, Patrick (LNG-VIE) wrote:

<h1 xmlns="">...</h1>

How can I get rid of that empty namespace ?!

Move the XHTML namespace declaration to the xsl:stylesheet
  <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    xmlns="http://www.w3.org/1999/xhtml";
    version="2.0">
    ...
  </xsl:stylesheet>
that way it applies to all literal result elements in all templates.

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>