Page 1 of 1

XML New Line Character Problem in Attribute Value

Posted: Tue Jan 08, 2008 1:27 pm
by deepak7819
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&#xD;&#xA;NB Node Type Disabled&#xD;&#xA;NB Scope Disabled&#xD;&#xA;SMTP Server Disabled&#xD;&#xA;POP3 Server Disabled&#xD;&#xA;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 invein.

Thanks.
Deepak Singh[/b]

Posted: Tue Jan 08, 2008 5:38 pm
by sorin_ristache
Hello,

You did not specify how you want to display the content of the XML file: in the Author mode of the XML editor panel based on a CSS stylesheet, in a PDF or HTML result of an XSLT transformation, etc? Did you try with a CSS stylesheet? Please post the current form of your CSS stylesheet.


Regards,
Sorin