Insert Line Feed into XML

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rengaraj
    New Member
    • Jan 2007
    • 168

    Insert Line Feed into XML

    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
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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

    Comment

    Working...