xsl-list
[Top] [All Lists]

Re: xmlns="" ??

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




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