<?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: I exist</title>
	<atom:link href="http://www.jasny.net/articles/i-exist/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasny.net/articles/i-exist/</link>
	<description>It&#039;s all about me, mysql and Einstein.</description>
	<lastBuildDate>Wed, 08 Sep 2010 17:54:42 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dougal Matthews</title>
		<link>http://www.jasny.net/articles/i-exist/comment-page-1/#comment-66</link>
		<dc:creator>Dougal Matthews</dc:creator>
		<pubDate>Sat, 27 Jan 2007 03:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=3#comment-66</guid>
		<description>I love the sxc photo for the banner ;) awesome pic</description>
		<content:encoded><![CDATA[<p>I love the sxc photo for the banner <img src='http://www.jasny.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  awesome pic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.jasny.net/articles/i-exist/comment-page-1/#comment-10</link>
		<dc:creator>George</dc:creator>
		<pubDate>Mon, 18 Dec 2006 04:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=3#comment-10</guid>
		<description>Great.  What you&#039;ve written helps a lot.
A tutorial would be great.

It looks like you&#039;re involved creating something to handle the reverse process too, of loading XML data into the DB.

Thanks</description>
		<content:encoded><![CDATA[<p>Great.  What you&#8217;ve written helps a lot.<br />
A tutorial would be great.</p>
<p>It looks like you&#8217;re involved creating something to handle the reverse process too, of loading XML data into the DB.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnold Daniels</title>
		<link>http://www.jasny.net/articles/i-exist/comment-page-1/#comment-8</link>
		<dc:creator>Arnold Daniels</dc:creator>
		<pubDate>Sat, 16 Dec 2006 03:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=3#comment-8</guid>
		<description>Hi George,

It&#039;s always nice to hear if someone like a project, so thanks.

I haven&#039;t got much more example code than given on the website unfortunately. The tests I&#039;ve written are quite dry and wont give you any idea of the use of the library. But I can at least give you an examples and a short explanation.

First of all, have you read the API documentation. I might not be enough info, but at least you not what you&#039;ve got. http://libmysqlbnxml.sourceforge.net/docs.php

The text declaration is always the first line of an XML document.
&lt;pre&gt;mysql&gt; SELECT bnxml_textdecl(&#039;1.0&#039;, &#039;iso-8859-1&#039;);
+----------------------------------------------+
&#124; bnxml_textdecl(&#039;1.0&#039;, &#039;iso-8859-1&#039;)          &#124;
+----------------------------------------------+
&#124; &lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;
&#124;
+----------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;
With a processing instruction you may specify how a certain xml file should be handled. Adding an xml-stylesheet pi to your xml will trigger a browser to use XSLT with the specified xsl file to convert the XML before displaying.
&lt;pre&gt;mysql&gt; SELECT bnxml_pi(&#039;xml-stylesheet&#039;, &#039;href=&quot;classic.xsl&quot; mce_href=&quot;classic.xsl&quot;           &#039;);
+--------------------------------------------------+
&#124; bnxml_pi(&#039;xml-stylesheet&#039;, &#039;href=&quot;classic.xsl&quot; mce_href=&quot;classic.xsl&quot;           &#039;) &#124;
+--------------------------------------------------+
&#124; &lt;?xml-stylesheet xhref=&quot;classic.xsl&quot; mce_href=&quot;classic.xsl&quot;         ?&gt;            &#124;
+--------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;
All functions starting with a &#039;c&#039;, like bnxml_celement and bnxml_cforest, will put the content in a CDATA section instead of converting the data to XML.
&lt;pre&gt;mysql&gt; SELECT bnxml_element(&#039;message&#039;, &quot;This story is &lt; Lord of the Rings&quot;);
+---------------------------------------------------------------+
&#124; bnxml_element(&#039;message&#039;, &quot;This story is &lt; Lord of the Rings&quot;) &#124;
+---------------------------------------------------------------+
&#124; This story is &lt; Lord of the Rings       &#124;
+---------------------------------------------------------------+
1 row in set (0.00 sec)

mysql&gt; SELECT bnxml_celement(&#039;message&#039;, &quot;This story is &lt; Lord of the Rings&quot;);
+------------------------------------------------------------------+
&#124; bnxml_celement(&#039;message&#039;, &quot;This story is &amp; lt; Lord of the Rings&quot;)   &#124;
+------------------------------------------------------------------+
&#124; &lt;!--[CDATA[This story is &lt; Lord of the Rings]]--&gt; &#124;
+------------------------------------------------------------------+
1 row in set (0.00 sec)&lt;/pre&gt;
There are several functions to bind things together, but the can be broken down in 2 groups;
- bnxml_concat will simply stick the xml together, almost in the same way that concat() does.
- bnxml_agg sticks xml of multiple rows together, just like a group_concat().

I&#039;ve had some downloads, but no real questions, bug reports or other prove that someone besides me was actually using the lib. But I just might write a small tutorial / story about it on my blog next week.</description>
		<content:encoded><![CDATA[<p>Hi George,</p>
<p>It&#8217;s always nice to hear if someone like a project, so thanks.</p>
<p>I haven&#8217;t got much more example code than given on the website unfortunately. The tests I&#8217;ve written are quite dry and wont give you any idea of the use of the library. But I can at least give you an examples and a short explanation.</p>
<p>First of all, have you read the API documentation. I might not be enough info, but at least you not what you&#8217;ve got. <a href="http://libmysqlbnxml.sourceforge.net/docs.php" rel="nofollow">http://libmysqlbnxml.sourceforge.net/docs.php</a></p>
<p>The text declaration is always the first line of an XML document.</p>
<pre>mysql> SELECT bnxml_textdecl('1.0', 'iso-8859-1');
+----------------------------------------------+
| bnxml_textdecl('1.0', 'iso-8859-1')          |
+----------------------------------------------+
| &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
|
+----------------------------------------------+
1 row in set (0.00 sec)</pre>
<p>With a processing instruction you may specify how a certain xml file should be handled. Adding an xml-stylesheet pi to your xml will trigger a browser to use XSLT with the specified xsl file to convert the XML before displaying.</p>
<pre>mysql> SELECT bnxml_pi('xml-stylesheet', 'href="classic.xsl" mce_href="classic.xsl"           ');
+--------------------------------------------------+
| bnxml_pi('xml-stylesheet', 'href="classic.xsl" mce_href="classic.xsl"           ') |
+--------------------------------------------------+
| &lt;?xml-stylesheet xhref="classic.xsl" mce_href="classic.xsl"         ?&gt;            |
+--------------------------------------------------+
1 row in set (0.00 sec)</pre>
<p>All functions starting with a &#8216;c&#8217;, like bnxml_celement and bnxml_cforest, will put the content in a CDATA section instead of converting the data to XML.</p>
<pre>mysql> SELECT bnxml_element('message', "This story is < Lord of the Rings");
+---------------------------------------------------------------+
| bnxml_element('message', "This story is < Lord of the Rings") |
+---------------------------------------------------------------+
| This story is &lt; Lord of the Rings       |
+---------------------------------------------------------------+
1 row in set (0.00 sec)

mysql> SELECT bnxml_celement('message', "This story is < Lord of the Rings");
+------------------------------------------------------------------+
| bnxml_celement('message', "This story is & lt; Lord of the Rings")   |
+------------------------------------------------------------------+
| &lt;!--[CDATA[This story is < Lord of the Rings]]--&gt; |
+------------------------------------------------------------------+
1 row in set (0.00 sec)</pre>
<p>There are several functions to bind things together, but the can be broken down in 2 groups;<br />
- bnxml_concat will simply stick the xml together, almost in the same way that concat() does.<br />
- bnxml_agg sticks xml of multiple rows together, just like a group_concat().</p>
<p>I've had some downloads, but no real questions, bug reports or other prove that someone besides me was actually using the lib. But I just might write a small tutorial / story about it on my blog next week.</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.jasny.net/articles/i-exist/comment-page-1/#comment-7</link>
		<dc:creator>George</dc:creator>
		<pubDate>Fri, 15 Dec 2006 22:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.adaniels.nl/?p=3#comment-7</guid>
		<description>Arnold,

I&#039;ve looked at little at the Bean IT XML stuff and installed it on an instance of MySQL.
I&#039;ve been successful getting some SQL code similar to the examples you provide working, but there are a lot of methods that I&#039;m not sure how to use.  Especially how to combine these different methods into a SQL select.

Like:
bnxml_textdecl()
bnxml_pi()
bnxml_celement()
...

Have you got any more examples or some test cases you used when you developed it?

It looks cool.

Thanks</description>
		<content:encoded><![CDATA[<p>Arnold,</p>
<p>I&#8217;ve looked at little at the Bean IT XML stuff and installed it on an instance of MySQL.<br />
I&#8217;ve been successful getting some SQL code similar to the examples you provide working, but there are a lot of methods that I&#8217;m not sure how to use.  Especially how to combine these different methods into a SQL select.</p>
<p>Like:<br />
bnxml_textdecl()<br />
bnxml_pi()<br />
bnxml_celement()<br />
&#8230;</p>
<p>Have you got any more examples or some test cases you used when you developed it?</p>
<p>It looks cool.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
