game-box.xml formatting....

Discuss game box design and sharing.

Moderators: Ichibrothers, Cambronne

Post Reply
morval
Posts: 32
Joined: 28 Sep 2008, 19:59

game-box.xml formatting....

Post 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
morval
Posts: 32
Joined: 28 Sep 2008, 19:59

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

Post 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
User avatar
radikal
Posts: 24
Joined: 31 Aug 2008, 18:43

Post 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.
morval
Posts: 32
Joined: 28 Sep 2008, 19:59

Post 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
Post Reply