Skip to main content
Known Participant
January 18, 2007
Question

XML Formatting

  • January 18, 2007
  • 1 reply
  • 473 views
I select "apply source formatting" in Dreamweaver for an XML document and it indents the XML hiearchically, but it adds returns so a string in an element is placed on its own line like this:

<some_string>
California
</some_string>

when I want it to be like this:

<some_string>California</some_string>

Anybody know how I can configure Dreamweaver to do this? Thanks.
This topic has been closed for replies.

1 reply

Inspiring
January 18, 2007
dbenman wrote:
> when I want it to be like this:
>
> <some_string>California</some_string>
>
> Anybody know how I can configure Dreamweaver to do this? Thanks.

You can't. Tell the Dreamweaver team that source formatting for XML
needs to be fixed by filing a bug report/enhancement request.

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Known Participant
January 18, 2007
Thanks for the reply. Its kinda funny because when I tested the formatting to post this, I was on my old Dreamweaver 4 at home which formats it just the way I wanted it. So much for progress.