Go Back   The macosxhints Forums > General Discussion > The Coat Room



Reply
 
Thread Tools Rate Thread Display Modes
Old 05-24-2002, 12:38 AM   #1
dj-power-n-assoc
Prospect
 
Join Date: May 2002
Location: Seattle
Posts: 21
XML question

I'm capturing text from users and putting it into an XML doc like so...

<MESSAGE>
<TEXT>
Hello, here is some text.
Here's some more.

Thank you,
Me
</TEXT>
</MESSAGE>

... and it looks like that in the XML, with the returns and everything. But when I transform it with XSLT I get...

"Hello, here is some text. Here's some more. Thank you, Me"

Anyone know how I can retain the whitespace? It's not <xsl:preserve-space>. That's for blank nodes. Unless I'm using it wrong.

Thanks,
dj
dj-power-n-assoc is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.