I'm coding a plugin. One particular file of this plugin is supposed to pull data from the plugin's custom DB table, and output it with minimal processing as raw XML.
The problem is, to get the WPDB class to work when the file was opened directly, I had to add a require to wp-blog-header.php. This worked great BUT it turns out that including the file outputs the tags < html>, < head>, and < body>, which kinda screws up certain parts of the XML.
Is there any way I can [A] Suppress the tag-spitting behavior of wp-blog-header.php? [B] Get WPDB working in some other way?
Or should I just not use WPDB for DB access in this file in the plugin?
EDIT: False alarm. Firefox was adding the tags at the user's end, not Wordpress. Sorry for raising a big stink.