XML New Line Character Problem in Attribute Value

Questions about XML that are not covered by the other forums should go here.
deepak7819
Posts: 1
Joined: Tue Jan 08, 2008 1:25 pm
Location: India

XML New Line Character Problem in Attribute Value

Post 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]
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post 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
Post Reply