This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: last(): selecting the last one?


Heppa,

> Yes. This was the reason. Why xsl:copy-of makes the link and value-of 
> does not?

Because xsl:value-of converts the RTF into a string by a call to the string function and the string value of the RTF in this case is the text node inside the link, whereas xsl:copy-of doesn't convert it to string. See XSLT spec on xsl:value-of and xsl:copy-of, and XPath on string value of a node.

Cheers,

Santtu

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]