xsl-list
[Top] [All Lists]

Re: xmlns="" ??

2004-04-30 03:51:58


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(_at_)netsmart(_dot_)gr
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf




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