www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] xpath array empty when only one node?

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    213

    resolved [RESOLVED] xpath array empty when only one node?

    Code:
    <items>
       <item>
          <id>6</id>
          <title>Super Fudge</title>
          <type>Cupcakes</type>
          <image>superfudge001.jpeg</image>
          <description>Fudge cupcake with a hot fudge center and fudge buttercream</description>
          <available>PreOrder</available>
       </item>
    </items>
    PHP Code:
    $itemImages $x->xpath("//item/image"); 
    ....is empty?

  2. #2
    Join Date
    Sep 2006
    Posts
    213
    nevermind, typo, long hours

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles