Display XML tags in file?

  • I am using the PHP execute under Diagnostics->Execute command, in order to read an xml file via file_get_contents($xmlfile). However, when the xml file is output, all the xml tags are gone, with only the text inbetween the tags. I need to be able to see the tags. Is there a simple way to do this? Thanks in advance!

  • I found a workaround by using fopen and fwrite to a file. :P