[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Search XML Files

Subject: Search XML Files
From: James Hunt <arcjah@xxxxxxxx>
Date: Wed, 18 Jun 2003 10:58:23 -0400
 Search XML Files
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. 


<?xml version="1.0" encoding="UTF-8"?>
  <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
  • Search XML Files
    • James Hunt - Wed, 18 Jun 2003 10:56:03 -0400 (EDT)
      • <Possible follow-ups>
      • James Hunt - Wed, 18 Jun 2003 10:58:31 -0400 (EDT) <=
      • James Hunt - Wed, 18 Jun 2003 10:59:53 -0400 (EDT)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.