Guest putha Posted December 17, 2005 Share Posted December 17, 2005 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 More sharing options...
boen_robot Posted December 17, 2005 Share Posted December 17, 2005 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now