--- On Mon, 16/2/09, A J A Y <ajayget(_at_)yahoo(_dot_)com> wrote:
From: A J A Y <ajayget(_at_)yahoo(_dot_)com>
Subject: Please help me to group these rooms
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Monday, 16 February, 2009, 8:05 PM
Hi,
This is a part of my xml file. I am not able to sort the results with same
board type and different occupancy.
<establishment>
<code>36697</code>
<description>Express By Holiday Inn Croydon</description>
<contract>164.GR-ALL-SWS</contract>
<child_min_age>0</child_min_age>
<child_max_age>11</child_max_age>
- <location>
- <destination>
<code>LON</code>
<description>London</description>
</destination>
- <zone>
<code>7</code>
<description>Croydon</description>
</zone>
</location>
- <category>
<code>3EST</code>
<description>3 STARS</description>
</category>
<incoming_contract>TS80024237</incoming_contract>
<offer>YES</offer>
<classification>NOR</classification>
<currency>GBP</currency>
- <room>
<code>FAM.ST</code>
<description>FAMILY ROOM STANDARD</description>
<availability>4</availability>
- <price>
- <occupancy>
<adults>2</adults>
<children>1</children>
<rooms>1</rooms>
</occupancy>
- <board_type>
<code>CB</code>
<description>CONTINENTAL BREAKFAST</description>
</board_type>
<amount>46.89</amount>
</price>
</room>
- <room>
<code>DBL.ST</code>
<description>DOUBLE STANDARD</description>
<availability>4</availability>
- <price>
- <occupancy>
<adults>2</adults>
<children>0</children>
<rooms>2</rooms>
</occupancy>
- <board_type>
<code>CB</code>
<description>CONTINENTAL BREAKFAST</description>
</board_type>
<amount>93.78</amount>
</price>
</room>
- <room>
<code>TWN.ST</code>
<description>TWIN STANDARD</description>
<availability>4</availability>
- <price>
- <occupancy>
<adults>2</adults>
<children>0</children>
<rooms>2</rooms>
</occupancy>
- <board_type>
<code>CB</code>
<description>CONTINENTAL BREAKFAST</description>
</board_type>
<amount>93.78</amount>
</price>
</room>
</establishment>
Fisrt group all rooms by board type then under board type group rooms with each
occupancy type e.g. each room with different occupancy
Please help me.
Add more friends to your messenger and enjoy! Invite them now.
Connect with friends all over the world. Get Yahoo! India Messenger at
http://in.messenger.yahoo.com/?wm=n/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--