Posted on 2005-04-12
Last Modified: 2012-05-05
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.  


Question by:rjohnsonjr
    LVL 33

    Accepted Solution

    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.

    Expert Comment

    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.

    Expert Comment

    by:win3o is handy if you are using php5...
    LVL 16

    Expert Comment

    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!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now