Re: [xsl] Saxon removes namespace in XHTML output

Subject: Re: [xsl] Saxon removes namespace in XHTML output
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Tue, 22 Aug 2006 16:09:49 +0200 (CEST)
M 1879 wrote:

> <xsl:template match="description" mode="multi-descr">
>      <p><xsl:apply-templates /></p>
> </xsl:template>

  This 'p' element is not in the XHTML namespace.  If you want that,
declare it in the right namespace the usual way:

    <xsl:stylesheet xmlns:xsl="..." xmlns:h="..." version="1.0">

      <xsl:template match="description" mode="multi-descr">
        <h:p>
          <xsl:apply-templates/>
        </h:p>
      </xsl:template>

    </xsl:stylesheet>

  Regards,

--drkm






















	
 p4.vert.ukl.yahoo.com uncompressed/chunked Tue Aug 22 13:13:38 GMT 2006 
	
		
___________________________________________________________________________ 
Dicouvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Riponses pour partager vos connaissances, vos opinions et vos expiriences. 
http://fr.answers.yahoo.com 

Current Thread