cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Jurk <>
Subject xsl:copy-of Problem
Date Thu, 12 Dec 2002 20:45:20 GMT

since I use Cocoon2.1 (CVS 12.12.2002) I have the
following problem. 
When I use <xsl:copy-of select="."/> in a
xsl-stylesheet, only the values form the elements are
copied, but not the element itself, e.g. when I
transform the following xml data:

with the stylesheet:

<xsl:template match="/">
  <xsl:variable name="m">
   <xsl:call-template name="sortmsg"/>

<xsl:template name="sortmsg">
  <xsl:for-each select="/all/message">
    <xsl:copy-of select="."/>

then are only "msg1 msg2" is copied and not

I use the following transformer:
<map:transformer logger="sitemap.transformer.xsltc"
name="xslt" pool-grow="2" pool-max="32" pool-min="8"

Does anyone know an answer.
Thanks in advance,


Gesendet von Yahoo! Mail -
Weihnachts-Einkäufe ohne Stress!

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message