[xsl] Search XML Files

Subject: [xsl] Search XML Files
From: James Hunt <arcjah@xxxxxxxx>
Date: Wed, 18 Jun 2003 10:59:46 -0400
How do you search for a value that is in a attribute and then return the path where that attribute was found? Below is the part of an example xml that I'll be working with. The general function I need is the ability to search for "15.0" and return "Ohio/Central Counties/Franklin/Guardianship/Part 1/G-15.0 - Next of Kin of Proposed Ward". Can anyone help me here? I'm new to this stuff so please offer detailed explanations. 

Thanks,
James

<?xml version="1.0" encoding="UTF-8"?>
<FormTree>
  <Node Description="Ohio" OrderId="10000">    
    <Node Description="Central Counties" OrderId="10500">
      <Node Description="Franklin" OrderId="33500">
      <Node Description="Guardianship" OrderId="40000">
      <GroupNode Description="Part 1" OrderId="40000">
      
        <FormNode Description="13.3 - Entry Approving and Settling Account" OrderId="1400000" Category="franklinguardianship" Code="1216"/>		      
        <FormNode Description="G-15.0 - Next of Kin of Proposed Ward" OrderId="1500000" Category="franklinguardianship" Code="701" /> 
        <FormNode Description="G-15.01A - Motion to Expedite Hearing" OrderId="1600000" Category="franklinguardianship" Code="763" />   


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


Current Thread