Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2005, 09:40 PM
Authorized User
 
Join Date: Dec 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML Parser problems

Hi, I followed the Example for an xml parser in the Book beginning php 4 and it worked great. I could manipulate the information etc and built a table dynamically to display the info pulled from the XML file.

I tried to re-use the code to create in a new page (same xml file but on this page I need it displayed differently), but it doesn't seem to show I get the following when I echo out vars in startElementHandler callback function:

Code:
$parser Resource id #4
$elementName TERMINE

$parser Resource id #4
$elementName ITEM

$parser Resource id #4
$elementName DATUM

$parser Resource id #4
$elementName ZEIT

$parser Resource id #4
$elementName STUECK
What is meant by 'Resource id #4'?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Xml parser testing Manoah XML 1 July 11th, 2008 04:10 AM
How to parse xml using SAX Parser?? priyatowin XSLT 2 September 8th, 2006 02:56 AM
XML Parser alfatat SQL Language 0 March 29th, 2006 11:20 AM
XML Parser Problem?? mar0364 XML 1 September 15th, 2004 09:23 AM
PHP4 XML parser question rburke_36 All Other Wrox Books 1 January 12th, 2004 04:24 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.