SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru augathra's Avatar
    Join Date
    Jul 2004
    Location
    united states
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    xml parser function

    I want to use SimpleXML, but my host doesn't have 5.0 yet. The XML Parser functions aren't making sense to me, so...

    Does anyone have example code with detailed comments (besides what's on PHP.net for extracting data from a single XML tag)
    or...
    Does anyone have a function() that extracts the XML Tag's value, but also be able to specify parent(s) they are under?

    So ...
    Code:
    <Parent>
      <Data1>Hello</Data1>
    </Parent>
    <Parent2>
      <Data1>World</Data1>
    </Parent2>
    Data1 don't get mixed up.

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2003
    Location
    Bishkek
    Posts
    74
    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
  •