Re: [xsl] xmlns="" ??

Subject: Re: [xsl] xmlns="" ??
From: "Emmanuil Batsis (Manos)" <mbatsis@xxxxxxxxxxx>
Date: Fri, 30 Apr 2004 13:02:44 +0300
You havent shown your transform code, but i believe all you have to do is add xmlns="http://www.w3.org/1999/xhtml"; to your stylesheet/transform element.

To explain, you probably have a template matching the root, with the <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> in it. However, the XHTML namespace is not visible in other templates, thus unprefixed HTMLish elements are in the null namespace...

hth,


-- Manos Batsis

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


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

Current Thread