Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Error in the XML

This topic is old and might contain outdated or incorrect information.

Hello There,

i need some help to get my Skin work. I searched the Problem but i dont see it. I tried to fix it for a few weeks but i dont find some Error.

Here is the Code:

<Skin name="Maxa-Itchv7" version="7" width="1280" height="800">

***************************************************************************************

***************************************************************************************
TOP
***************************************************************************************
=============LOGO=============
<logo>
<size width="86" height="21"/>
<pos x="540" y="81"/>
</logo>
==============================

<dropzone chan="1">
<size width="109" height="122"/>
<pos x="393" y="115"/>
</dropzone>

<dropzone chan="2">
<size width="109" height="122"/>
<pos x="775" y="116"/>
</dropzone>

<grabzone>
<size width="1261" height="74"/>
<pos x="10" y="2"/>
</grabzone>

<button action="settings">
<size width="47" height="17"/>
<pos x="1098" y="84"/>
<selected x="1099" y="946"/>
<down x="1099" y="946"/>
</button>

<button action="minimize">
<size width="19" height="16"></size>
<pos x="988" y="85"></pos>
<selected x="989" y="947"></selected>
<over x="989" y="947"></over>
<down x="989" y="947"></down>
</button>

<button action="maximize">
<size width="19" height="16"></size>
<pos x="1015" y="85"></pos>
<selected x="1016" y="947"></selected>
<over x="1016" y="947"></over>
<down x="1016" y="947"></down>
</button>

<button action="close">
<size width="19" height="16"></size>
<pos x="1042" y="85"></pos>
<selected x="1043" y="947"></selected>
<over x="1042" y="85"></over>
<down x="1043" y="947"></down>
</button>


------------------------------------------------------------------------------------------
Pause_Stop
------------------------------------------------------------------------------------------
<button action="pause" chan="1" rightclick="auto">
<size width="31" height="22"/>
<pos x="433" y="81"/>
<selected x="435" y="943"/>
<down x="435" y="943"/>
<over x="435" y="943"/>
</button>
<button action="pause" chan="2" rightclick="auto">
<size width="31" height="22"/>
<pos x="813" y="81"/>
<selected x="814" y="943"/>
<down x="814" y="943"/>
<over x="814" y="943"/>
</button>

<button action="stop" chan="1" rightclick="auto">
<size width="31" height="22"/>
<pos x="398" y="81"/>
<selected x="400" y="943"/>
<down x="400" y="943"/>
<over x="400" y="943"/>
</button><button action="stop" chan="2" rightclick="auto">
<size width="31" height="22"/>
<pos x="778" y="81"/>
<selected x="779" y="943"/>
<down x="779" y="943"/>
<over x="779" y="943"/>
</button>
------------------------------------------------------------------------------------------
Play_Stutter
------------------------------------------------------------------------------------------
<button action="play" chan="1" rightclick="auto">
<size width="31" height="22"/>
<pos x="468" y="81"/>
<selected x="470" y="943"/>
<down x="470" y="943"/>
<over x="470" y="943"/>
<clipmask x="302" y="1790"/>
</button>
<button action="play_stutter" chan="2" rightclick="auto">
<size width="31" height="22"/>
<pos x="848" y="81"/>
<selected x="849" y="943"/>
<down x="849" y="943"/>
<over x="849" y="943"/>
<clipmask x="302" y="1790"/>
</button>
--------------------------------------------------------------------
Pitch
--------------------------------------------------------------------
<slider action="pitch" chan="1" orientation="vertical" dblclick="reset" rightclick="temporary" direction="down">
<size width="17" height="92"></size>
<pos x="17" y="131"></pos>
<down x="17" y="131"></down>
<selected x="17" y="131"></selected>
<fader>
<size width="12" height="28"></size>
<pos x="306" y="1744"></pos>
</fader>
</slider>

<slider action="pitch" chan="2" orientation="vertical" dblclick="reset" rightclick="temporary" direction="down">
<size width="17" height="92"></size>
<pos x="1254" y="132"></pos>
<down x="1254" y="132"></down>
<selected x="1254" y="132"></selected>
<fader>
<size width="12" height="28"></size>
<pos x="306" y="1744"></pos>
</fader>
</slider>

--------------------------------------------------------------------
Pitch Reset
--------------------------------------------------------------------
***************************************************************************************
Rhythm Full
***************************************************************************************
<rhythm pannel="1" os="pc">
<size width="1262" height="74"/>
<pos x="8" y="3"/>
<chan1_active1 x="14" y="2762"/>
<both_active1 x="14" y="2801"/>
<chan2_active1 x="14" y="2877"/>
<chan2_active2 x="14" y="2915"/>
<both_active2 x="14" y="2953"/>
<chan1_active2 x="14" y="2839"/>
<grid1 width="5" mainwidth="11">
<size width="1262" height="5"/>
<pos x="8" y="65"/>
<active1 x="14" y="2763"/>
<active2 x="14" y="2839"/>
</grid1>
<grid2 width="5" mainwidth="11">
<size width="1262" height="5"/>
<pos x="8" y="65"/>
<active1 x="14" y="2763"/>
<active2 x="14" y="2839"/>
</grid2>

</rhythm>

===========Browser==============
<browser>
<size width="1263" height="401"/>
<pos x="9" y="397"/>
<text font="Comic Sans MS" size="12" color="#FF0000" selected="#FF8000" stripes="#FF8040" unfocused="#800000"/>
<options font="Comic Sans MS" size="12" color="#FF0000" selected="#FF8000" over="#FF8040"/>
<widgets font="Virtual Dj" size="12" color="#FF0000"/>
</browser>

=============Song Pos ==============
<songpos deck="1" orientation="horizontal" waveform="yes">
<size width="326" height="31"/>
<pos x="45" y="119"/>
</songpos>
<songpos deck="2" orientation="horizontal" waveform="yes">
<size width="326" height="31"/>
<pos x="887" y="120"/>
</songpos>
================================



What is wrong here?

Thanks Max
 

Posted Mon 03 Jan 11 @ 11:20 am
Well, at first glance your logo is too small. The minimum size that VDJ will run a skin with is 100w x 25h

Try resizing it to that and see if that works for you.

DjChuck
 

Posted Mon 03 Jan 11 @ 11:46 am
Hm Thanks for ur help.
Now it is 110 w and 26 h ... and the Error in the Cell 0 comes again and again...

=(

 

Posted Mon 03 Jan 11 @ 12:58 pm
Not if it matters but I noticed your using the old code for the rhythm waves. Maybe that's it, I don't know though didn't think that mattered.

Hmmm
Huey
 

Posted Mon 03 Jan 11 @ 2:14 pm
Have you got

</skin>

At the end??
 

Posted Mon 03 Jan 11 @ 2:50 pm
Is your text there saved as an xml file? And if yes, then did you add the </skin>? also is the name of your picture the same as the name of the xml, and the name="maxwell_something" ? These are the only possibilities, although you should check this with a proffesional xml editor.
 

Posted Mon 03 Jan 11 @ 3:26 pm
There are 2 tricks I use to find where the errror in line 0 is coming from

(most of the time I'm missing a quotation mark somewhere " )

double click on the XML file and let internet explorer load it, if there is an error in the XML it will tell you what is wrong

also if you are using the skin creator tool, there is a "check XML" function that comes in quite handy as well.


And I might be incorrect.. (although I don't think I am) but ... rightclick="auto" does nothing

your button coding, while technically correct without the rightclick="auto", is little "long winded"

try condensing the code like this...

Quote :
<button action="pause" chan="2" rightclick="auto">
<size width="31" height="22"/>
<pos x="813" y="81"/>
<selected x="814" y="943"/>
<down x="814" y="943"/>
<over x="814" y="943"/>
</button>


could be written like this:


<button action="deck 2 pause" rightclick="deck 2 pause_stop">
<size width="" height=""/>
<pos x="" y=""/>
<down x="" y=""/>
<selected x="" y=""/>
<over x="" y=""/>
</button>


just a suggestion, the less quotation marks you use, the easier the code is to write! ;-)

DjChuck
 

Posted Mon 03 Jan 11 @ 3:29 pm
@ all Thank you ;)

@cbgraphix -> You are the Man ;) IE gives me the Infos (However i dont know what my Firefox say :D )
Not it works!! Yeah ;) There was one Spacebar lost :(... little problem. But now its fixed.

Perfect Thank you cbgraphix for your Gold Tip ;)

 

Posted Mon 03 Jan 11 @ 5:32 pm
cbgraphix wrote :
Well, at first glance your logo is too small. The minimum size that VDJ will run a skin with is 100w x 25h

Try resizing it to that and see if that works for you.

DjChuck


Good.. Try with this modification in the logo script.

<logo>
<size width="68" height="17"></size>
<pos x="540" y="81"></pos>
</logo>


and add.

</skin>

At the end
 

Posted Mon 03 Jan 11 @ 5:36 pm
DJ FORMATPRO InfinityModeratorMember since 2003
Okay something you can try it works for me. Drag and drop your XML file into Internet Explorer or Firefox browser. And it will show you where the errors are.
 

Posted Tue 04 Jan 11 @ 12:14 am


(Old topics and forums are automatically closed)