display xml code in browser??
Posted: Mon Jul 25, 2005 2:51 pm
I'm working on building an xml file programatically with php and I'd like to view it in a browser window while testing.
When I use the default php content header.. I don't see anything. (have to view code)
When i use:
I get an error parsing the xml. But the code that is being parsed is correct for my application.
Anyone know of a quick and easy way to display all of this xml?
Thanks
Will
When I use the default php content header.. I don't see anything. (have to view code)
When i use:
Code: Select all
<?php header("e;Content-type: text/xml"e;); ?>Anyone know of a quick and easy way to display all of this xml?
Thanks
Will