Re: [xsl] xmlns="" ??

Subject: Re: [xsl] xmlns="" ??
From: "Emmanuil Batsis (Manos)" <mbatsis@xxxxxxxxxxx>
Date: Fri, 30 Apr 2004 13:51:58 +0300
Arthur Maloney wrote:

Thanks for the comments Perhaps you could xplain a bit more.

  1 the XHTML namespace is not visible in other templates, thus
   unprefixed HTMLish elements are in the null namespace...

Just change


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

to

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns="http://www.w3.org/1999/xhtml"; version="1.0">

When you do that, the xmlns declaration in the html element is redundant.

hth,


-- Manos Batsis

    _  __    __                    __
   / |/ /__ / /____ __ _ ___ _____/ /_
  /    / -_) __(_-</  ' Y _ `/ __/ __/
 /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/


http://www.netsmart.gr mailto:mbatsisSPAM_TRAP@xxxxxxxxxxx tel:+302103240940 http://forte.netsmart.gr/foaf/manos_foaf.rdf

Current Thread