Thursday, 24 January 2019

What is the difference between and

What is the difference between <xsl:copy-of> and <xsl:value-of>?

Answer:


The difference is that the latter gives the string value of its select expression, which in the case of a RTF or node-set would be simply the text in the text nodes; whereas the former copies all (the elements, attributes, and other nodes) of the result of the select expression.

No comments:

Post a Comment