[xsl] searching the xml

Subject: [xsl] searching the xml
From: "Earl Spencer" <eapencer74@xxxxxxxxxxx>
Date: Tue, 12 Jun 2001 15:44:15 -0000
Hi folks,
         I have a search problem

xml
---
<ROOT>
<employee group="1">
<wing>Management</wing>
<emp>john</emp>
<emp>arnold</emp>
</employee>
<employee group="2">
<wing>Marketing</wing>
<emp>kathy</emp>
<emp>robert</emp>
</employee>
<employee group="3">
<wing>Production</wing>
<emp>jones</emp>
<emp>scot</emp>
</employee>
</ROOT>

and now my problem is if i pass a stylesheet parameter like this
scott,john

then my resulting xml file should be
<ROOT>
<employee group="1">
<wing>Management</wing>
<emp>john</emp>
</employee>
<employee group="3">
<wing>Production</wing>
<emp>scot</emp>
</employee>
</ROOT>

can anybody suggest me the best way to do this......
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


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



Current Thread