# What's wrong wiht my XML?

**URL:** <https://forum.kirupa.com/t/whats-wrong-wiht-my-xml/79730>\
**Category:** flash\
**Created:** [February 16, 2005, 5:18pm UTC](https://forum.kirupa.com/t/whats-wrong-wiht-my-xml/79730 "2005-02-16T17:18:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MDiddy](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MDiddy](https://forum.kirupa.com/u/MDiddy)\
**Post date:** [February 16, 2005, 5:18pm UTC](https://forum.kirupa.com/t/whats-wrong-wiht-my-xml/79730/1 "2005-02-16T17:18:51Z")

</div>

I’m trying make a calendar that reads information from an XML file, and this is my first experience with XML. When you click on a day that’s specified in the day (node?), the text specified will display in a text field. The colors will change, and startDay is used so that i know where to start the month on the calendar, which is basically a grid with 7x5. Am I going the wrong way with this? Is there a better way to do it? Is this XML file crap?

Any suggestions are appreciated

Thanks!

```auto
<?xml version="1.0" encoding="iso-8859-1"?>
<calendar version = "1.0">
<month>April</month>
<year>2005</year>
<startDay>6</startDay>
<totalDays>30</totalDays>
	<colors>
		<bgColor>0000ff</bgColor>
		<fgColor>cccccc</fgColor>
		<dayColor>cccccc</dayColor>
		<mainTxtColor>0000cc</mainTxtColor>
		<smallTxtColor>ffffcc</smallTxtColor>
	</colors>
	<quotes>
	<day>
	<num>2</num>
	<text>Hello</text>
	</day>
		<day>
	<num>4</num>
	<text>Hello</text>
	</day>
		<day>
	<num>5</num>
	<text>XML is OK</text>
	</day>
		<day>
	<num>6</num>
	<text>Hello</text>
	</day>
		<day>
	<num>8</num>
	<text>XML is good</text>
	</day>
		<day>
	<num>16</num>
	<text>Hello</text>
	</day>
</quotes>
</calendar>

```
