Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Parse newlines of an XML file in PHP?

 
Lifelesspeople.com Forum Index -> Web Architects' Abode
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
Scott
tutorialtoday.com


Joined: 24 Mar 2005
Posts: 2600
Location: Mississauga, Ontario

PostPosted: Sat Dec 08, 2007 6:46 pm    Post subject: Parse newlines of an XML file in PHP? Reply with quote

http://www.php.net/xml

I developed a script in PHP 5 and am testing in PHP 4 and it doesn't parse an XML file properly in PHP 4.

I have this option set but it seems like PHP 4 ignores it.

Code:
xml_parser_set_option($xml_parser, XML_OPTION_SKIP_WHITE, FALSE);


I have looked around and found that a lot of people have experienced this problem, is there any solution to it in PHP 4? It is skipping the newlines, which messes up when I go to unserialize() information.
_________________
Tutorial Management Script - Version 1.3 Released
TutorialToday - Up and running, submit your tutorials!
Linux Tutorials - Coming Soon
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Web Architects' Abode All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com