Jump to content

Search the Community

Showing results for tags '$xml-xpath'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. knutsford

    $xml->xpath

    I am trying to do a search to get a url in PHP I have tried $the_id = $item['id']; $nodes = $xml->xpath("//item[contains(g:id,'$the_id')]"); foreach($nodes as $node) { $url = $node->g:link; } How do I do it? $url = $node->g:link; gives a syntax error Do I ignore g: and use id and link Thanks The xml layout is <item> <g:id>2023</g:id> <g:title> Croquet Set - Townsend </g:title> <g:description> Already a v
×
×
  • Create New...