Jump to content

xml & PHP


Guest putha

Recommended Posts

Hi,i am quite new to PHP.can anyone tell me how to retrieve data from a XML file using PHP?assume the xml file is called test.xmlit has following tags <duration>3</duration><capacity>10</capacity>how do i display it in web page using PHP?many thanx..

Link to comment
Share on other sites

I think the best thing might be to transform this data with XSLT and then use PHP to execute the XML and the XSLT.However, I don't know a code that would execute the XML and XSLT. Hope someone else does...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...