<xsl:value-of select="text()"/>
should return (only) the first text node child of the current node.
entities and character references should all have gone by the time
XSLT sees the input (but at least some versions of msxml have had
problems in this area).
>Which one is right?
The entity is not treated as text?
It should be the same as doing   or just typing that character
directly, and be merged into the surrounding text nodes.
If it isn't then it's an msxml bug.
> and how do I get ie to print all the text including
> entities without printing the value of element DOCUMENTREF?
you could try <xsl:copy-of select="node()[not(self::DOCUMENTREF)]"/> to
copy all nodes except that element.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list