Extracting NON standard XML data

Discussion in 'PHP' started by timallard, Jun 5, 2008.

  1. #1
    Hello,

    Im trying to parse out XML data with PHP.
    I can pull the title, description of each node etc.
    But each node also includes <thumbnail>path to thumbnail</thumbnail>
    and i need to pull out that path...can somebody lead me in th right direction?

    Thank You,
    -Tim
     
    timallard, Jun 5, 2008 IP
  2. JavaPF

    JavaPF Member

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    I'm not sure if this will apply to PHP but in Java using DOM it would be something like:

    yourtag.getFirstChild().getTextContent();
     
    JavaPF, Jun 5, 2008 IP