 |
 |
 |
David:
Thanks very much. This worked and makes perfect sense.
Regarding the second comment, I simplified this example. I am doing some other evaluations inside the table cell (not just using text) and it is easier for me to read inside the element content rather than the Select attribute. Performance is not an issue in this XSLT, but thank you for the tip; I will keep it in mind.
I do appreciate the quick response. Very helpful.
Todd
-----Original Message-----
>From: David Carlisle <davidc@xxxxxxxxx>
>Sent: Apr 3, 2007 11:51 AM
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>Cc: todd.vincent@xxxxxxxxxxxx
>Subject: Re: [xsl] Nesting xsl:call-template
>
>
>
> <xsl:value-of select="$ValueRow"/>
>
>
>value-of gives teh string value of the selected node. You don't want teh
>string value (which loses all element information) you want a copy of
>the result tree fragment, so that's
>
> <xsl:copy-of select="$ValueRow"/>
>
>incidentally it's a lot more efficient to go
>
> <xsl:with-param name="Value" select="'This is some text.'"/>
>
>rather than
>
> <xsl:with-param name="Value">This is some text.</xsl:if></xsl:with-param>
>
>one makes $Value a string, the other makes it a root tree fragment
>consisting of a root node with child a text node with string value the
>required string,
>
>David
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |