[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Getting rid of a namespace declaration


Subject: Re: [xsl] Getting rid of a namespace declaration
From: "Emmanuil Batsis (Manos)" <mbatsis@xxxxxxxxxxx>
Date: Mon, 15 Mar 2004 13:18:42 +0200


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@xxxxxxxxxxx tel:+302103240940 http://forte.netsmart.gr/foaf/manos_foaf.rdf



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



Current Thread
Keywords