Ok, but remember the difference between evaluating the node to text is
different from copying the node (according to the w3c xslt specs) :

-The xsl:value-of element is instantiated to create a text node in the
result tree. The required select attribute is an expression; this expression
is evaluated and the resulting object is converted to a string as if by a
call to the string function. The string specifies the string-value of the
created text node. If the string is empty, no text node will be created. The
created text node will be merged with any adjacent text nodes.

-The xsl:copy-of element can be used to copy a node-set over to the result
tree without converting it to a string. 


>-----Message d'origine-----
>De: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]]
>Date: jeudi 28 mars 2002 10:49
>À: '[EMAIL PROTECTED]'
>Objet: RE: Simple XSL problem, but NEED HELP!
>
>
>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]>
>

---------------------------------------------------------------------
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