<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="flower.xsl"?>

<content>
		<header>
			<image>
				<source>images/flowers.jpg</source>
				<alt>A Beautiful Ninja Pirate Flower Image</alt>
			</image>
			<slogan>We Fight for your Flowers!</slogan>
			<name>Pirate Ninja Flower Shop</name>
		</header>
		<footer>
			<store>
				<location>
					<street1>123 W. Marine Drive</street1>
					<city>Portland</city>
					<state>Oregon</state>
					<zip>97236</zip>
					<phone>503-PIR-NINJ</phone>
					<fax>503-NIN-PIRA</fax>
					<email>ninja-pirates@ninjapiratesflowers.com</email>
				</location>
			</store>
		</footer>
		<commentary>
			<browser>This is a Firefox specific project, although I would hope that it also would work in other browsers.</browser>
			<reuse>With the exception of the form, I think I didn't particularly have to duplicate the code in my XSL file.  The XML files themselves no longer have duplications, which is a lovely improvement from part one of this exercise.  I think I am definitely improviing in how I can handle different XML data sources without having to repeat a lot of the data.</reuse>
			<files>I ended up resolving the file issues by merging the shipment files into one file and all the flowers into another file.  This looks like a reasonable solution -- just dump all shipments and flowers into the respective files as updates come in.  This still meant I had to get a link set up across files so that Flower names and descriptions from two different files were displayed together.  This was a satisfying challenge.  I also created xml files for each color to structure the navigation bar and page specific styling.  I was only able to tailor the CSS using inline styles in the XML and I was not able tailor page-specific CSS.  Not a huge deal, but lacking slightly in elegance.</files>
			<code>Despite my initial internal predictions of doom and gloom, I think that this project came together very nicely.  I was particularly pleased that I was able to sort the flowers by Type, and then by Name and Description.  The color filter is working nicely as well.  I suppose that I could have sorted the flowers alphabetically by Name, but I think I need to stop fiddling.  I would have liked to have inserted some text under flower Types that did not have any colored flowers, but I was having troubles getting it to only display once.  And again, I need to stop fiddling.</code>
			<calc>The Flower calculator ended up being a major pain!  I think I muddled through to a fairly functional result, but I got oddly stuck in different points with odd formatting errors.  Also, the browser differences with both Javascript and XSLT are somewhat daunting.  I have had to deal with getting XHTML/CSS to display across browsers, but there is a definite troubleshooting advantage to keeping a fair amount of the action on the server.</calc>
		</commentary>	
		</content>

