SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2008
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Placing a small amount of XML into HTML

    Hello.

    One of my clients wishes to display their share price and the price of oil on their website. The service provider has informed me that they will provide the data as am XML file.

    How do I go about implementing this into a table in my xhtml/php page?

    I've searched online and tried a few things but none are working correctly.

    Many thanks

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    URL fopen the XML file, transform it using one of a number of options in PHP (simpleXml, XSLT, etc, etc), display on page like any other data. Bonus points for having a working caching strategy.

  3. #3
    SitePoint Addict goodmast3r's Avatar
    Join Date
    Apr 2005
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe this Soap article can help you


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
  •