• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 401
  • Last Modified:

PHP and XML

I have to report tomorrow morning on how PHP deals with XML.

Is it good at handling XML / working with it.

Pretend I am against it and convince me I should use PHP to deal with XML stuff.  


Thanks!

Randy
0
rjohnsonjr
Asked:
rjohnsonjr
  • 2
1 Solution
 
snoyes_jwCommented:
Depends on what you want to do.  If you just want to read XML, it's really easy using SimpleXML.  If you want to write and send XML, it can be a little trickier, but there are several libraries to help you out.

http://www.php.net/xml
http://www.php.net/domxml
http://www.php.net/manual/en/ref.simplexml.php
0
 
win3oCommented:
PHP is a tool that you can use to handle XML. It depends what your requirements are... You may need to create an XML parser using PHP to read large XML feeds.
0
 
win3oCommented:
http://www.php.net/manual/en/ref.simplexml.php is handy if you are using php5...
0
 
alain34Commented:
depending on which platform you are using php, but if you were to use windows, you can use msxml from php to handle xml. Msxml is pretty mature in this respect as it can handle both schema validation and transformation!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now