Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

xml is externalFile.xml and has xml start tags

I had this question after viewing given xml, please extract a portion of xml line in output one per line.

Thanks. I have a related question where xml is externalFile.xml and has xml start tags
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

I find the documentation to be the best source for finding alternate methods.

In this case the code in the previous question used LoadXML.

Start with that doc link:
http://php.net/manual/en/domdocument.loadxml.php

Then way down at the bottom you see:
See Also
•DOMDocument::load() - Load XML from a file


That takes you to:
http://php.net/manual/en/domdocument.load.php
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
do you need further clarification here?

example above should work for you as well.
Avatar of rgb192

ASKER

this got the body tag

thanks