XML in singel line

when BTX creats a XML file I get in a single line

<root><elem>aa</elem></root>

insted of

<root> -- newline

<elem>aa</elem> -- newline

</root> -- newline

How can I get the one withe newline after each Tag ?

Thanx

[326 byte] By [hottoko] at [2008-2-13]
# 1

hi hottoko - if you derive your output xml document via a map, click on the map grid surface (usually in the smack middle of visual studio) - properties to the map will come up.

From the properties section - you want to set 'indent=true'. You're good to go.

If you're concerned about how sometimes dealing with these files isnt 'easy on the eye' within visual studio, then you could always open up this output file and select 'reformat' from the XML/XSLT toolbar.

You're ready to rock.

Cheers,

Mick.

MickBadran-MVP at 2007-9-25 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...
# 2

Hi Mick.

It works perfect, thanx!

hottoko at 2007-9-25 > top of Msdn Tech,BizTalk Server,BizTalk R2 General...