OK , This is a very hard ? and very complex. Is there any professional out there that can help me out.
this is my xml file:
<?xml-stylesheet type="text/xsl" href="bhfeedSchema.xsl"?>
<berkeleyhomes>
<generated>Wed, 02 May 2007 06:00:45</generated>
<developments>
<development sitecode="a999" name="Gunwharf Quays - Crescent Penthouses" status="Available" region="Hampshire" URL="http://www.berkeleyhomes.co.uk/index.cfm?articleid=1332" developmentimage="media/development_images/g/d/a999_devpic_1.jpg" URLprefix="http://www.berkeleyhomes.co.uk/">
<contact> <address1>Portsmouth Harbour</address1>
<address2></address2> <town>Portsmouth</town> <postcode>PO1 3TA</postcode>
<phone>023 9285 1800</phone>
<email>
[email protected]</email>
<regionaloffice>Southern</regionaloffice>
</contact>
<pricerange>
<from>380000</from>
<to>380000</to>
</pricerange>
<plots>
<plot> <plotnumber>171</plotnumber> <type>Penthouse</type> <floorplan url="http://floorplans.berkeleyhomes.co.uk/a999/a999_171_2_Eleventh_Floor.gif" title="Eleventh Floor"></floorplan>
<bedrooms>2</bedrooms> <price>380000</price> <completion>Spring 07</completion>
<availability>AVAILABLE</availability>
</plot>
<plot> <plotnumber>172</plotnumber>
<type>Penthouse</type>
<floorplan url ://floorplans.berkeleyhomes.co.uk/a999/a999_172_2_Eleventh_Floor_(Mirrored).gif" title="Eleventh Floor (Mirrored)"></floorplan>
<bedrooms>2</bedrooms> <price>380000</price> <completion>Spring 07</completion>
<availability>AVAILABLE</availability>
</plot>
</plots>
<information><p><span>Experience the high life</information>
</information>
<specification>Individually Designed Kitchens</specification>
<media></media>
</development>
</developments>
</berkeleyhomes>
I'm trying to creat an xsl file to produce an text file that should look like this.
171|Penthouse|http://floorplans.berkeleyhomes.co.uk/a999/a999_171_2_Eleventh_Floor.gif|Eleventh Floor|2|380000|Spring 07|AVAILABLE|a999|Gunwharf|||||||||||||||||
I need to create a loop to get nodes from the plot and then get the development nodes added to each plot.
HELP ME