SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast GlennB's Avatar
    Join Date
    Jul 2003
    Location
    Langley, B.C., Canada
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Search a xml file

    What I have is a live xml stream which i connect to. I open the xml file with a xsl file attached in an asp page. The xml file looks like this minus a thousand entries:

    <?xml version="1.0" ?>
    - <transaction>
    - <product>
    <productsizeid>1</productsizeid>
    <productid>68</productid>
    <productname>BETADINE Solution 10%</productname>
    <strength />
    <quantity>500ml (16 OZ)</quantity>
    <price>17.99</price>
    </product>
    - <product>
    <productsizeid>2</productsizeid>
    <productid>3</productid>
    <productname>Tylenol</productname>
    <strength />
    <quantity>100 - 325mg gelcaps</quantity>
    <price>6.99</price>
    </product>

    What I need to do is make a search form on my site pages that search for a drug by it's name or part of it's spelling and return the info for it. I can't figure this out. Please help. Thanx
    Last edited by GlennB; Jul 17, 2003 at 14:19.

  2. #2
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •