xsl-list
[Top] [All Lists]

Extracting pieces of an XML

2003-03-17 08:16:30
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



<Prev in Thread] Current Thread [Next in Thread>
  • Extracting pieces of an XML, Fran <=