<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: converting MySQL queries to xml</title>
	<atom:link href="http://www.codediesel.com/php/converting-mysql-queries-to-xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codediesel.com/php/converting-mysql-queries-to-xml/</link>
	<description>/* PHP &#38; MySQL Journal */</description>
	<lastBuildDate>Fri, 27 Jan 2012 16:39:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: SneakyWho_am_i</title>
		<link>http://www.codediesel.com/php/converting-mysql-queries-to-xml/comment-page-1/#comment-1218</link>
		<dc:creator>SneakyWho_am_i</dc:creator>
		<pubDate>Thu, 21 May 2009 09:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=79#comment-1218</guid>
		<description>Sanitization was the first thing to my mind, too. I was expecting a built-in, compiled function. Doh.

This function looks clever and useful but it&#039;s not for me at all.</description>
		<content:encoded><![CDATA[<p>Sanitization was the first thing to my mind, too. I was expecting a built-in, compiled function. Doh.</p>
<p>This function looks clever and useful but it&#8217;s not for me at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.redips.net &#124; From MySQL to XML with PHP</title>
		<link>http://www.codediesel.com/php/converting-mysql-queries-to-xml/comment-page-1/#comment-1131</link>
		<dc:creator>www.redips.net &#124; From MySQL to XML with PHP</dc:creator>
		<pubDate>Tue, 17 Mar 2009 20:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=79#comment-1131</guid>
		<description>Nice code, I also made my version of sql2xml, which is in production for several years ... In combination with APC, it gives a good platform to build a fast Web site. Function accepts two parameters: first parameter is SQL and the second is hierarchy (optional). Hierarchy describes XML structure ... Hope you will find interesting informations.
Bye!</description>
		<content:encoded><![CDATA[<p>Nice code, I also made my version of sql2xml, which is in production for several years &#8230; In combination with APC, it gives a good platform to build a fast Web site. Function accepts two parameters: first parameter is SQL and the second is hierarchy (optional). Hierarchy describes XML structure &#8230; Hope you will find interesting informations.<br />
Bye!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony</title>
		<link>http://www.codediesel.com/php/converting-mysql-queries-to-xml/comment-page-1/#comment-1020</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Wed, 26 Nov 2008 22:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.codediesel.com/?p=79#comment-1020</guid>
		<description>This is great - thank you.

I was wondering where the best place to sanitize the data would be? by that I mean replace any XML special characters like &amp; with &amp; before outputting them in XML.

Oh - and the example works perfectly with MS SQL as well - as long as you change the function names:

mysql_fetch_object  to  mssql_fetch_object
mysql_num_fields   to   mssql_num_fields
mysql_field_name   to  mssql_field_name</description>
		<content:encoded><![CDATA[<p>This is great &#8211; thank you.</p>
<p>I was wondering where the best place to sanitize the data would be? by that I mean replace any XML special characters like &amp; with &amp; before outputting them in XML.</p>
<p>Oh &#8211; and the example works perfectly with MS SQL as well &#8211; as long as you change the function names:</p>
<p>mysql_fetch_object  to  mssql_fetch_object<br />
mysql_num_fields   to   mssql_num_fields<br />
mysql_field_name   to  mssql_field_name</p>
]]></content:encoded>
	</item>
</channel>
</rss>

