[xsl] to find all childrens for a parent

Subject: [xsl] to find all childrens for a parent
From: Laxman Sanyasi <laxman_s73@xxxxxxxxx>
Date: Wed, 3 Sep 2003 14:23:37 -0700 (PDT)
Hi,
 I am fairly new to XML and XSL. I have a question for
the forum. I would greatly
appreciate if someone can help me out.
 
Below is the xml file.
 
<DATA>
  <Server server_id="s1" server_desc="abc">
   <Printer printer_id="p1" printer_desc="P1">
   <Printer printer_id="p2" printer_desc="P2">
   <Printer printer_id="p3" printer_desc="P3">
  </Server>
  <Server server_id="s2" server_desc="efg">
   <Printer printer_id="p4" printer_desc="P4">
   <Printer printer_id="p5" printer_desc="P5">
   <Printer printer_id="p6" printer_desc="P6">
  </Server>
</DATA>
 
I am tryring to build HTML <select> tag to show only
printers associated with that server when the user
select the server from the drop down box.
Can you please help me in providing the XSL.
 
Thanks in advance for your help.
Laxman Sanyasi


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Current Thread