EDIT: HOW IS THIS TOO BROAD? My question was put on hold for being too broad, but I asked one question and provided screenshots and sourcecode. What more do I need? I feel this was flagged for closure before the people that flagged it read everything here. I provided the full source code of my file. HELP! I don't feel very welcome. :-(
I followed the answer in this question to take an existing XML feed, change some tag names, and then spit out a new feed:
How do I change XML tag names with PHP?
The issue I am having is that when the feed is displayed in any browser, it displays as text, instead of being nicely formatted like other 'normal' XML feeds. I assume that since I have not told PHP to render the page as XML, it assumes text/html by default, and that is why it is happening. HOWEVER, when I specify in the header that it's XML, it generates with some XML formatting, but all of my feed shows up bold between the 'pre' tags that are in that answer linked above. When removing the 'pre' tag from the source, it generates nothing.
Without Header Specifying XML:
With Header Specifying XML:
Does anyone have any hints to guide me to get this to render properly in a browser?
Thanks in Advance!
Source linked in comments below. StackOverflow would not let me add a third link.