xml´s formating ?
#1
How can the contents of the .xml´s properly formating?

bad: Stare
Image

Correct/cleaner: ?!? Rolleyes
Code:
    <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?
Image
Skin.JOGGLER
----------------------------------
Download - djtoll's Add-On Repository / Add-Ons > Install from ZIP / Get Add-ons > Djtoll's Repository
Reply
#2
notepad++ with xml plugin -> pretty print function
Reply
#3
get a better editor I guess
Reply
#4
I already use notepad++, but the idea , to search after extensions, I´m not come.

Thanks Mntz Wink
Image
Skin.JOGGLER
----------------------------------
Download - djtoll's Add-On Repository / Add-Ons > Install from ZIP / Get Add-ons > Djtoll's Repository
Reply
#5
Hi,

There is a command with I can delete the blank lines? (Notepad++)
Image
Skin.JOGGLER
----------------------------------
Download - djtoll's Add-On Repository / Add-Ons > Install from ZIP / Get Add-ons > Djtoll's Repository
Reply
#6
In Notepad++

TextFX -> TextFX Edit -> Delete Blank Lines
Reply
#7
boahh great !!! Nod

Thanks
Image
Skin.JOGGLER
----------------------------------
Download - djtoll's Add-On Repository / Add-Ons > Install from ZIP / Get Add-ons > Djtoll's Repository
Reply

Logout Mark Read Team Forum Stats Members Help
xml´s formating ?0