Login
Search   Moderators Wanted: If you're interested please send your portfolio to info[at]itechforums.com
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 1
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2010, 12:10 PM
Icklesheep Icklesheep is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
Default

XML transform output to text removes line feeds?


XML transform output to text removes line feeds?

I am trying to transform some XML to give a basic text output, however I am finding that line breaks present in formatted text blocks in the XML, are being removed when the xml is transformed to text.

E.g. the XML might contain:

formattedtext
This is the first line
This is the second line

This is the third line
This is the fourth line
/formattedtext

but when transformed, the text output will contain:

This is the first lineThis is the second lineThis is the third lineThis is the fourth line.

Does anyone have any ideas?
Kermit:
I am able to format the text by using the transform file to add line feeds to the text output, but I need to preserve the line feeds in the XML source when converting to text output. Is there no way to do this at all?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS Data Feeds - changing data feeds with PHP & JavaScript? titchyc PHP 0 02-14-2009 12:41 AM
Using vb.net to output text to a browser textbox? cmegrey .Net (ASP.Net, VB.Net, C#) 0 12-29-2008 02:30 AM
Javascript, Show/Hide text on SAME LINE? AL75 JavaScript 4 09-10-2008 03:09 AM
please help me , in java programming I want my output text to have color... King L Java, Java Servlets & JSP 0 08-15-2008 08:28 PM
PHP: Is there a way to remove line returns and spaces from the output file? Nuxly Stardust PHP 0 07-07-2008 01:58 AM

Your Ad Here

All times are GMT. The time now is 03:50 AM.