1. Hi,

    I'm following the examples given in Chapter 11 of the book and I am having some difficulty getting them to function.  I tried the code example for the section entitled "<OnClick>" as well as "Creating New XML Templates" neither of which seemed to work as intended.  The following link will provide the WowXMLExample directory in question... http://5h0cktr00px0rz.org/?q=node/60

    The FrameXML.log file indicates the following when the client attempts to load the AddOn...

     

    --------------

    2/26 17:21:27.635  Loading add-on WowXMLExample

    2/26 17:21:27.635  ** Loading table of contents Interface\AddOns\WowXMLExample\WowXMLExample.toc

    2/26 17:21:27.635  Couldn't parse XML in Interface\AddOns\WowXMLExample\WowXMLExample.xml

    --------------

    I've double check the code for typos but I couldn't find anything.  I'm also wondering... does the example need to be within a <Frame> tag or does <Button> fulfull the same role?  I do not see mention of this anywhere in the text.

    Thanks for your help,

    Zenas

  2. Hi,

    I'm following the examples given in Chapter 11 of the book and I am having some difficulty getting them to function.  I tried the code example for the section entitled "<OnClick>" as well as "Creating New XML Templates" neither of which seemed to work as intended.  The following link will provide the WowXMLExample directory in question... http://5h0cktr00px0rz.org/?q=node/60

    The FrameXML.log file indicates the following when the client attempts to load the AddOn...

     

    --------------

    2/26 17:21:27.635  Loading add-on WowXMLExample

    2/26 17:21:27.635  ** Loading table of contents Interface\AddOns\WowXMLExample\WowXMLExample.toc

    2/26 17:21:27.635  Couldn't parse XML in Interface\AddOns\WowXMLExample\WowXMLExample.xml

    --------------

    I've double check the code for typos but I couldn't find anything.  I'm also wondering... does the example need to be within a <Frame> tag or does <Button> fulfull the same role?  I do not see mention of this anywhere in the text.

    Thanks for your help,

    Zenas

  3. This is where opening the file in a web browser or using a validator like XML Nanny allows you to see what is wrong.  On line 12 you open another <Layer> tag instead of closing the previous one with </Layer>.  This is what is causing your XML file to be un-parseable.

  4. I knew it was going to be something stupid like that.  Sorry about that.  Thanks, -z