<?xml version="1.0"?>
<!-- This file is not CSV ready -->
<!-- A lot of nasty problems, most of them solved automaticaly. -->
<!-- Note that */*[4]/stock only has an empty status element.-->
<!-- This will create an extra, probably useless, field, stock_status, in output. -->
<!-- The field can be deleted in s5_user-defined.xsl: -->
<!-- <xsl:template mode="s5_user-defined" match="stock_status"/> -->
<products>
	<product id="p1">
		<name>Delta</name>
		<price>800</price>
		<stock><status><max>10</max><now>4</now><min>1</min></status></stock>
		<country>Denmark</country>
	</product>
	<product id="p2"/>
	<product date="2010-09-14" id="p3">
		<name>Alpfa</name>
		<price>1200</price>
		<country>Germany</country>
	</product>
	<product id="p4" date="2010-09-15">
		<name>Foxtrot</name>
		<price>1500</price>
		<stock><status/></stock>
	</product>
	<product id="p5">
		<name>Tango</name>
		<price>1225</price>
		<stock><status><max>10</max><now>3</now><min>1</min></status></stock>
		<country>Japan</country>
		<country>France</country>
		<country>Cuba</country>
	</product>
</products>

<!-- 
Simulated CSV output file:

product.id,name,price,stock_status_max,stock_status_now,stock_status_min,country,country,country,product.date,stock_status
p1,Delta,800,10,4,1,Denmark,"","","",""
p2,"","","","","","","","","",""
p3,Alpfa,1200,"","","",Germany,"","",2010-09-14,""
p4,Foxtrot,1500,"","","","","","",2010-09-15,""
p5,Tango,1225,10,3,1,Japan,France,Cuba,"",""
-->
