cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yeb Havinga <yeb.havi...@ddnh.nl>
Subject xsl question: copy of templates
Date Wed, 09 Aug 2000 16:24:16 GMT
Hello,

Can anyone please tell me how I can copy a template like this one:

<p foo="bar">some tekst</p>

Using 

  <xsl:template match="p">
   <xsl:copy>
    <xsl:apply-templates select="*|@*|text()"/>
   </xsl:copy>
  </xsl:template>

I get

<p>barsometekst</p>


Thanks!


-- Yeb
-- 
-- "Oh, very clever, Worf. Ate any good books lately ?" - Q

Mime
View raw message