xsl-list
[Top] [All Lists]

Re: Getting rid of a namespace declaration

2004-03-15 04:18:42

Hi Patricia,

<xsl:apply-templates
select="document(concat('input/',$outputfile))//body |
document(concat('input/',$outputfile))//xhtml:body" />

Do not use unqualified XHTML in the stylesheet (elements in no namespace). Using the XHTML namespace as the default namespace of the stylesheet helps to that.


--
Manos Batsis

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


http://www.netsmart.gr
mailto:mbatsisSPAM_TRAP(_at_)netsmart(_dot_)gr
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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