PDA

View Full Version : xml´s formating ?


djtoll
2008-04-15, 22:45
How can the contents of the .xml´s properly formating?

bad: :stare:
http://img166.imageshack.us/img166/7787/fragexmlformatierungtx2.th.jpg (http://img166.imageshack.us/my.php?image=fragexmlformatierungtx2.jpg)

Correct/cleaner: ?!? :rolleyes:
<control type="label" id="1">
<description>Year value</description>
<posx>295</posx>
<posy>273</posy>
<label>$LOCALIZE[345]: $INFO[MusicPlayer.Year]</label>
<font>alwin18</font>
<textcolor>80ffffff</textcolor>
</control>
<control type="label" id="1">
<description>Tracks value</description>
<posx>295</posx>
<posy>298</posy>
<label>$LOCALIZE[435]: $INFO[musicplayer.Playlistposition] / $INFO[musicplayer.Playlistlength]</label>
<font>alwin18</font>
<textcolor>80ffffff</textcolor>
<width>425</width>
<visible>!MusicPartyMode.Enabled</visible>
</control>
<control type="label" id="1">
<description>Tracks value</description>
<posx>295</posx>
<posy>298</posy>
<label>$LOCALIZE[589]: $INFO[musicpartymode.songsplayed] / $INFO[musicpartymode.matchingsongs] / $INFO[musicpartymode.matchingsongsleft] / $INFO[musicpartymode.randomsongspicked]</label>
<textcolor>80ffffff</textcolor>
<width>425</width>
<font>alwin18</font>
<visible>MusicPartyMode.Enabled</visible>
</control>

of course, I would not every single line edit.
There is a tool? Or how are you doing that?

Mntz
2008-04-15, 23:18
notepad++ with xml plugin -> pretty print function

Jezz_X
2008-04-16, 02:28
get a better editor I guess

djtoll
2008-04-16, 15:49
I already use notepad++, but the idea , to search after extensions, I´m not come.

Thanks Mntz :;):

djtoll
2008-04-18, 22:32
Hi,

There is a command with I can delete the blank lines? (Notepad++)

jaredharley
2008-04-19, 02:33
In Notepad++

TextFX -> TextFX Edit -> Delete Blank Lines

djtoll
2008-04-19, 02:54
boahh great !!! :nod:

Thanks