xsl-list
[Top] [All Lists]

Re: [xsl] Saxon removes namespace in XHTML output

2006-08-22 09:40:20
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 
        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--