Tim Laughlin's Everything VB.NET Blog


Google Gadget Syntax

I have started work on my first Google Gadget.  Over all a really cool idea.  However, I just spent a significant amount of time trying to figure out why the ModulePrefs was rendering oddly.  Turns out your XML must have a new line for every attribute.  You would expect an XML parser not to care, but apparently this one does. 

So Correct is:
  <ModulePrefs
    title_url=" http://localhost/ "
    title="My Gadget" />

Incorrect would be:
  <ModulePrefs title_url=" http://localhost/" title="My Gadget" />