[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE:

Subject: RE:
From: "Whitney, Dan (FPDG)" <DanW@xxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Dec 2002 12:43:30 -0500
 RE:
Thanks David that fixed it. Makes it tough when I forget the subject.

Dan

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: December 11, 2002 12:00 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: 


 
 <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 &nbsp; is not treated as text?
It should be the same as doing &#160; 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

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


Current Thread
  • RE:
    • TSchutzerWeissmann - Wed, 11 Dec 2002 11:48:13 -0500 (EST)
      • <Possible follow-ups>
      • Whitney, Dan (FPDG) - Wed, 11 Dec 2002 12:34:55 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.