Originally posted by Ulf Dittmer:
What does it mean to convert XML to PHP?
It means that converting an xml file into a php file but is it possible because php uses certain php tags to do it.
There generally is no single "best way", as it depends very much on your circumstances (about which we know nothing) which one that may be.
XSLT would be be one way; use of XML APIs and direct generation of HTML markup another one.