I'm trying to make a number of feeds to confirm to various formats, and from what I;ve found so far, the mydbr XML feed capability is missing the ability to add multiple headers. So when I start with
SELECT 'dbr.export.options', 'xml.declaration', '<?xml version="1.0" encoding="utf-8"?>';
SELECT 'dbr.export.options', 'xml.root_tag', 'rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"';
SELECT 'dbr.export.options', 'xml.root_tag', 'source';
it creates (notice it skips the rss definition):
<?xml version="1.0" encoding="UTF-8" ?>
<source> [followed by my content]</source>
when I need:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<source> [followed by my content]</source></rss>
and, in fact, I also occasionally need to add other headers like
<?xml version="1.0" encoding="UTF-8" ?>
<publisher>publisher name</publisher>
<publisherurl>publisher name</publisherurl>
<datepublished>publisher name</datepublished>
<source> [followed by my content]</source>
(notice only source is closed at the end, not the other headers which are closed in the head)
You can see one example at: http://www.w3schools.com/xml/xml_rss.asp (also notice this has a 'sub headers' within 'channel' followed by each item (=rows)
Any way I can do this in mydbr?