# XML New Line Character Problem in Attribute Value

**URL:** <https://forum.kirupa.com/t/xml-new-line-character-problem-in-attribute-value/248451>\
**Category:** programming\
**Created:** [January 8, 2008, 10:26am UTC](https://forum.kirupa.com/t/xml-new-line-character-problem-in-attribute-value/248451 "2008-01-08T10:26:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepak7819](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@deepak7819](https://forum.kirupa.com/u/deepak7819)\
**Post date:** [January 8, 2008, 10:26am UTC](https://forum.kirupa.com/t/xml-new-line-character-problem-in-attribute-value/248451/1 "2008-01-08T10:26:56Z")

</div>

Hello All;

I’ve created a XML document that contains attribute string.

I want the following Details value

\<DHCPDevice\_ServerResponseResults Iteration=“1” Details=“WINS Server Disabled NB Node Type Disabled NB Scope Disabled SMTP Server Disabled POP3 Server Disabled Web Server Disabled” ResponseTime=“0.000” Status=“Failed” /\>

to be displayed as

WINS Server Disabled  
NB Node Type Disabled  
NB Scope Disabled  
SMTP Server Disabled  
POP3 Server Disabled  
Web Server Disabled

But it show appear on the same line. I have tried various option character code but invain. I have attached the xml file.

Thanks.  
Deepak Singh
