Shoutbox

Xml code error! - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Skinning (/forumdisplay.php?fid=41)
+----- Thread: Xml code error! (/showthread.php?tid=89575)

Xml code error! by Toksick on 03-10-2009 at 01:33 AM

:) Hi everyone! i`m making a skin. and i did my zml code and etc! its all good! but now the problem is. that whene i go on my wlm. and go chose a skin. My skin is not in the list! so i will show you the xml code and maybe somebody might find out what is the error! thank you..:)

after that i will be ok. cuz i will see how i made it and what i should of done, so i will learn like that :)

XML code:
<SkinInfo>
    <Information>
        <Name>White tiger</Name>
        <Description>Skin created by Toksick</Description>
  <Version>1.0</Version>
        <Screenshot>
            <File>icon.png</File>
        </Screenshot>
    </Information>
    <MessengerSkin>
        <ResGroup>
            <Restrictions>
                <MsgVersions>
                    <Version Major="14" Minor="0"/>
                </MsgVersions>
            </Restrictions>
 
                <Resources>
                        <New>
                           <Pictures>
                              <Picture Id="59000">
                                 <File>Images/59000.jpg</File>
                              <Metadata>
                                   <UMLeft>1</UMLeft>
                                   <UMRight>1</UMRight>
                                   <UMTop>1</UMTop>
                                   <UMBottom>1</UMBottom>
                                   <Colorize>true</Colorize>
                                   </Metadata>
                            </Picture>
 
                              </Pictures>
                         </New>
                            <Replace>
                                  <Windows>
                                     <Definitions>
                                       <Definition Id="1001">
                                <File>Definitions/1001.txt</file>
                                     </Definition>
 
                               </Definitions>
                                     </Windows>
                                 </Replace>
                           </Resources>
 
        </ResGroup>
    </MessengerSkin>
</SkinInfo>


RE: Xml code error! by robert_dll on 03-10-2009 at 01:57 AM

Is the file named "SkinInfo.xml" ?


RE: Xml code error! by Toksick on 03-10-2009 at 02:00 AM

yes it is!


RE: Xml code error! by djdannyp on 03-10-2009 at 02:03 AM

is it saved as unicode?

also, do all of the files you referenced exist in the same folder structure?  (including capitalisation)

what was the last change you made to SkinInfo that stopped it working?


RE: Xml code error! by Toksick on 03-10-2009 at 02:05 AM

its stoped whene i added that

XML code:
<Resources>
                        <New>
                           <Pictures>
                              <Picture Id="59000">
                                 <File>Images/59000.jpg</File>
                              <Metadata>
                                   <UMLeft>1</UMLeft>
                                   <UMRight>1</UMRight>
                                   <UMTop>1</UMTop>
                                   <UMBottom>1</UMBottom>
                                   <Colorize>true</Colorize>
                                   </Metadata>
                            </Picture>
 
                              </Pictures>
                         </New>
                            <Replace>
                                  <Windows>
                                     <Definitions>
                                       <Definition Id="1001">
                                <File>Definitions/1001.txt</file>
                                     </Definition>
 
                               </Definitions>
                                     </Windows>
                                 </Replace>
                           </Resources>


RE: RE: Xml code error! by djdannyp on 03-10-2009 at 02:08 AM

quote:
Originally posted by Toksick
its stoped whene i added that

XML code:
<Resources>
                        <New>
                           <Pictures>
                              <Picture Id="59000">
                                 <File>Images/59000.jpg</File>
                              <Metadata>
                                   <UMLeft>1</UMLeft>
                                   <UMRight>1</UMRight>
                                   <UMTop>1</UMTop>
                                   <UMBottom>1</UMBottom>
                                   <Colorize>true</Colorize>
                                   </Metadata>
                            </Picture>
 
                              </Pictures>
                         </New>
                            <Replace>
                                  <Windows>
                                     <Definitions>
                                       <Definition Id="1001">
                                <File>Definitions/1001.txt</file>                                     </Definition>
 
                               </Definitions>
                                     </Windows>
                                 </Replace>
                           </Resources>



in the highlighted line, change </file> to </File>

opening and closing tags must use the same capitalisation
RE: Xml code error! by Toksick on 03-10-2009 at 02:08 AM

ok thank you! :)


RE: Xml code error! by Toksick on 03-10-2009 at 02:09 AM

Its working :) thank you very much :)... i did not look well :P


RE: Xml code error! by djdannyp on 03-10-2009 at 02:27 AM

Just a small note, I've noticed that you've deleted your threads where problems have been solved.

Please don't do this as the threads can help serve as future reference for anyone else who experiences those problems


RE: Xml code error! by Toksick on 03-10-2009 at 03:20 AM

ok thats cool. i did not know it sorry!