This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

searching the xml


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]