|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Carriage Return & # 13 ;
You are looking for a line break, which may not be the same as carriage return. I am not sure what the rules really are on line break normalization or if any of that is done in text nodes. I believe not. So, you need to seach for and or any combination thereof. <Text>This is a carriage return</Text> 2.a) This is the template I wrote:
<xsl:variable name="UC13" select="'
'"/> instead of creating the carriage return as a text node. I can see that this template doesn't work, but stack overflow? You are doing other screwy things perhaps :-) Your XSLT style is too procedural. Try avoiding use of xsl:choose and xsl:call-template. You seem to be breaking the text node only in order to glue it back together. Why? What is it you want to accomplish? You definitely have all the original line break characters inside text node, the preserve-space etc. has nothing to do with what's going on *inside* a text node. You definitely will find the line break characters in the test node with contains and substring-before etc. regards, -Gunther
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








