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

Re: line breaks missing

Subject: Re: line breaks missing
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 29 Jun 2006 09:44:48 -0400
validation missing line breaks
My guess is that $text is bound to a node-set, but its first element only represents the first line of the text.

value-of writes a string, and in XSLT 1.0, casting a node set to a string gets you the string value only of the first node in the set (in document order).

That's wild speculation based not on my understanding of what's happening in the OP's case, but on my understanding of what happens in XSLT.

Cheers,
Wendell

At 02:07 PM 6/28/2006, was written:
Renate wrote:

> When I use <xsl:value-of select="$text"/>

> When I open the result, then I don't see the whole text, but
> only the first line. I've got a text without linebreaks.

> Why should it be so?

  It is hard to say without knowing your input, how you set the
variable, your output, maybe warning messages, and how you view the
result.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.