Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder Kevin_M_Schafer's Avatar
    Join Date
    Apr 2011
    Location
    Fairfax, Minnesota, U.S.A.
    Posts
    482
    Thanks
    97
    Thanked 17 Times in 17 Posts

    XML Parser question

    I'm looking to have the results of a search box show inside a master page using SSI. This is a project I'm working on for myself.

    My search provider said this is possible, but I would need a XML Parcer.

    Would anyone have a link to an explanation of such code, or show me an example of a parcer working?

    Once I have the parcer code in place, and also a few sample pages to search, my search provider said they will be able to get this working on their end.

    Thanks to anyone who is able to help me on this.
    My keyboard is an IBM from 1993 and I like it that way. | Who is Dan Well? Everyone always says I know Dan Well.Building a web page is like building a birdhouse. Put it up there and watch 'em come. | Maintaining the aspect ratio of an image is more important than having a cold orange pop.

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,231
    Thanks
    10
    Thanked 270 Times in 269 Posts
    There are a variety of ways you can parse XML. If you're doing it on the server, which it sounds like, you can use PHP to access the XML DOM, you can use SimpleXML, or you can write an XML parser directly. Here's a link: http://us2.php.net/manual/en/book.xml.php

    Dave

  • Users who have thanked tracknut for this post:

    Kevin_M_Schafer (11-21-2011)


  •  

    Posting Permissions

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