Hi all:
Maybe I'm just too tired. I've been working on this site for a while now. Anyways, I had an idea that I wanted to use XML for a small little links database.
I followed the XML How-To by Joe Stump on this site (http://www.phpbuilder.com/columns/joe20000907.php3) and actually got it to work by itself with some sample data. So instead of parsing the slashdot.xml file it parsed mine and displayed the results. I didn't do much more than simply change the tags it was looking for.
Now the script I've been writing places all the contents in boxes for display on a website (its sort of a specialized weblog I'm writing for developers on sourceforge).
I can't for the life of me figure out how to take the output of the links XML script above and place it in a var to feed to my box function. I've even tried output buffering.
Basically the index page includes a functions.php file with the shared functions in it. When someone needs to go to, say the links page, (index.php/links) it parses out the "links" and sends it to a case switch to find out how to display that page. I the case statement I include the links xml parser, but from there I get stuck as nothing is returned to send to my box function.
Can someone give me some advice here? I can cut and paste some of the relevant functions here if need be, ( you can use the XML How-To script above as a reference too ).
I hope I've explained it well enough for a response.
ed