Actually, the problem was something else, somebody else just pointed me to
check for different namespaces, and that solved the problem, I needed to
reference the elements with their corresponding NS.

Thanks 

-----Message d'origine-----
De: TREGAN Fabien [mailto:[EMAIL PROTECTED]]
Date: jeudi, 28. mars 2002 10:45
À: '[EMAIL PROTECTED]'
Objet: RE: Simple XSL problem, but NEED HELP!




>-----Message d'origine-----
>De: Andreas Hartmann [mailto:[EMAIL PROTECTED]]

>Hi,

</>

>At least in your example the <row> tag has no value, so it is
>absolutely correct that nothing is returned. If you use <xsl:value-of>,
>you will only get the value of the matched tag.
>

If you want a copy of all the tag, us xsl:copy.

If you need to copy all the tag, attributs, and inner tag, you can use
recursive-copy by using a named template and applying your template to the
node to be copyed.

I think that the template should look like :

<xsl:template name="copyall">
  <xsl:copy>
    <xsl:for-each select="@*|node()">
      <xsl:call-templates name="copyall"/>
  </xsl:copy>
</xsl:template>

hope this works, i've not practiced for a long time :)

>
>Greetings,
>Andreas


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to