Page 1 of 1

game-box.xml formatting....

Posted: 02 Oct 2008, 00:41
by morval
Jerome, easy question.

Is it OK to have blank lines just for ease of reading in the game-box.xml file?

If possible, what is the syntax to add comments to the file?

Thanks,

Morval

Re: game-box.xml formatting....

Posted: 02 Oct 2008, 03:09
by morval
morval wrote:Jerome, easy question.

Is it OK to have blank lines just for ease of reading in the game-box.xml file?

If possible, what is the syntax to add comments to the file?

Thanks,

Morval
I tried blank lines, looks like its OK.

I also looked into another game-box and looks like comments are done like this....

<!-- this is a commment -->

Are the dashes needed?

Morval

Posted: 02 Oct 2008, 03:23
by radikal
Yes, the dashes are a must (and you have to use the start and end comment tags).

One of the quick easy ways I check my XML syntax is to open the xml file in my browser (IE7) which will format the file and verify the XML syntax. This helps me catch missing "/>" versus ">" markup.

Posted: 02 Oct 2008, 04:41
by morval
radikal wrote:Yes, the dashes are a must (and you have to use the start and end comment tags).

One of the quick easy ways I check my XML syntax is to open the xml file in my browser (IE7) which will format the file and verify the XML syntax. This helps me catch missing "/>" versus ">" markup.
Good tip!

Morval