[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Group these rooms

Subject: Group these rooms
From: A J A Y <ajayget@xxxxxxxxx>
Date: Wed, 18 Feb 2009 13:21:51 +0530 (IST)
 Group these rooms
--- On Mon, 16/2/09, A J A Y <ajayget@xxxxxxxxx> wrote:

From: A J A Y <ajayget@xxxxxxxxx>
Subject: Please help me to group these rooms
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.