CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2003
    Location
    Pune, India
    Posts
    19

    Question How to enter line break?

    Hello,

    I want to put line break in XML. Can anyone tell me how to do that?
    eg
    <Descripation>
    This mail is to inform you that:---LINE BREAK---
    your account is going to expire on end of this month.
    </Descripation>

    In above example at '---LINE BREAK--- ' I want to put line break.

    Regards,
    Sameer

  2. #2
    Join Date
    Nov 2004
    Location
    Poland
    Posts
    1,355

    Re: How to enter line break?

    CDATA section ...

  3. #3
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    1,165

    Re: How to enter line break?

    try
    Code:
    <Descripation>
    <![CDATA[
    This mail is to inform you that:
    your account is going to expire on end of this month.
    ]]>
    </Descripation>
    I think that CDATA section is what you need.
    B+!
    'There is no cat' - A. Einstein

    Use &#91;code] [/code] tags!

    Did YOU share your photo with us at CG Members photo gallery ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured