I need a good XML parser

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

I need a good XML parser

Post by fastfingertips »

I'm developing a content management software (of course in PHP) and i need a XML parser, do you have any recomendations for me?

Ideal the parser should be:
- free
- fast

I know that this two criterias are hard to find, but who know :)
User avatar
delorian
Forum Contributor
Posts: 223
Joined: Sun May 04, 2003 5:20 pm
Location: Olsztyn, Poland

Post by delorian »

Read about DOMXML http://php.net/domxml, I do not know if you are looking for something like this, but it may be good for start.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

Post by fastfingertips »

Hmm the idea is that i will not load XML files so i figure that i will need to develop a standard string parser.

If you know any good parser, please let me know.

I'm thinking to replace some ordinary script functions (like get the page text with a XML tag and when the HTML is generated my parser to translate this). I'm using only the XML write code standard, but no other XML functions.
User avatar
mitchikoy
Forum Newbie
Posts: 3
Joined: Tue Aug 12, 2003 8:35 pm
Location: Phil
Contact:

Post by mitchikoy »

fastfingertips wrote:Hmm the idea is that i will not load XML files so i figure that i will need to develop a standard string parser.

If you know any good parser, please let me know.

I'm thinking to replace some ordinary script functions (like get the page text with a XML tag and when the HTML is generated my parser to translate this). I'm using only the XML write code standard, but no other XML functions.
simpleXML on PHP5
try this link
http://www.zend.com/php5/articles/php5-simplexml.php
Post Reply