Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

Insert Line Feed into XML

Question posted by: rengaraj (Familiar Sight) on July 5th, 2008 04:21 AM
Dear Experts,
I am new to XML
I want to create an Interview Questions Bank (Intra Net) for our institution.
I preferred to store the Question & Answer in xml sheet.

But if i vew the xml in internet explorer, the complete contents of each tag displayed as an individual paragraph.

I want to insert an line feed character into the tag.
Displayed as :
<answer>XML stands for EXtensible Markup Language.XML was designed to transport and store data.</answer>

I want to be as
<answer>
XML stands for EXtensible Markup Language.<Here an line feed>
<Here an line feed>
XML was designed to transport and store data.<Here an line feed>
</answer>


Please advice.
Advance Thanks,
Rengaraj.R
Dormilich's Avatar
Dormilich
Expert
314 Posts
August 21st, 2008
12:43 PM
#2

Re: Insert Line Feed into XML
Do you create somehow that XML file? Then you could insert a line feed (\n or & #10;) there.
Do you display the XML styled (CSS, XSLT) or unstyled?

PS: unfortunately, I can't test this because I don't have an IE

Reply
Reply
Not the answer you were looking for? Post your question . . .
189,075 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top XML Forum Contributors