[xsl] Extracting pieces of an XML

Subject: [xsl] Extracting pieces of an XML
From: "Fran" <franciscojose@xxxxxxxxxxx>
Date: Mon, 17 Mar 2003 16:16:30 +0100
Hi list,
 I have a big XML like :
 <HOTELS>
  <HOTEL>
    <ROOM>
     ...
    </ROOM>
    <ROOM>
     ...
    </ROOM>
    <ROOM>
     ...
    </ROOM>
  </HOTEL>
  <HOTEL>
    <ROOM>
     ...
    </ROOM>
    <ROOM>
     ...
    </ROOM>
    <ROOM>
     ...
    </ROOM>
  </HOTEL>
  .....
  .....
<HOTELS>

and I make a paging of all elements sorting by hotel...After that the user
selects one element(HOTEL) and I want to pass the little structure
<HOTEL>....</HOTEL>(with all the children <room>) to have in the new page I
little XML to paint all the rooms and to work with a littler structure that
the user has selected. My idea is to pass "pieces" of an XML to the new
page.
There Is any way to do this? and if it's possible...what is the best way to
do this? Have you got any example of this?
Thanks a lot!
Regards
Frank



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread