Values, Copies, and Sequences

What’s the difference between xsl:value-of, xsl:copy-of, and xsl:sequence?

  • xsl:value-of always creates a text node.

  • xsl:copy-of always creates a copy.

  • xsl:sequence returns the nodes selected, subject possibly to atomization. Sequences can be extended with xsl:sequence.