<?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: PostgreSQL XML Type	</title>
	<atom:link href="https://www.dbrnd.com/2015/05/postgresql-xml-type/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com/2015/05/postgresql-xml-type/</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Mon, 17 Feb 2020 12:10:32 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>
		By: Daniel		</title>
		<link>https://www.dbrnd.com/2015/05/postgresql-xml-type/#comment-8092</link>

		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Mon, 17 Feb 2020 12:10:32 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=175#comment-8092</guid>

					<description><![CDATA[Hi Anvesh,

Am getting this Error , 

DETAIL:  This functionality requires the server to be built with libxml support.
HINT:  You need to rebuild PostgreSQL using --with-libxml.

How to resolve.]]></description>
			<content:encoded><![CDATA[<p>Hi Anvesh,</p>
<p>Am getting this Error , </p>
<p>DETAIL:  This functionality requires the server to be built with libxml support.<br />
HINT:  You need to rebuild PostgreSQL using &#8211;with-libxml.</p>
<p>How to resolve.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ashwin		</title>
		<link>https://www.dbrnd.com/2015/05/postgresql-xml-type/#comment-6304</link>

		<dc:creator><![CDATA[ashwin]]></dc:creator>
		<pubDate>Fri, 16 Mar 2018 13:07:51 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=175#comment-6304</guid>

					<description><![CDATA[can u please give the simple example of update and delete querry for the same]]></description>
			<content:encoded><![CDATA[<p>can u please give the simple example of update and delete querry for the same</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anvesh Patel		</title>
		<link>https://www.dbrnd.com/2015/05/postgresql-xml-type/#comment-4782</link>

		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Fri, 13 May 2016 09:21:18 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=175#comment-4782</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbrnd.com/2015/05/postgresql-xml-type/#comment-4730&quot;&gt;hagai&lt;/a&gt;.

;WITH cteXML
AS
(
	SELECT 
		CAST(unnest(xpath(&#039;//Name/text()&#039;, Name::XML)) AS TEXT) AS Name
		,CAST(unnest(xpath(&#039;//City/text()&#039;, Name::XML)) AS TEXT) AS City
		,CAST(unnest(xpath(&#039;//Gender/text()&#039;, Name::XML)) AS TEXT) AS Gender
		,CAST(unnest(xpath(&#039;//Age/text()&#039;, Name::XML)) AS TEXT) AS Age
	FROM XMLTEST 
)
SELECT *FROM cteXML
WHERE Name=&#039;Anvesh&#039;;]]></description>
			<content:encoded><![CDATA[<p>;WITH cteXML<br />
AS<br />
(<br />
	SELECT<br />
		CAST(unnest(xpath(&#8216;//Name/text()&#8217;, Name::XML)) AS TEXT) AS Name<br />
		,CAST(unnest(xpath(&#8216;//City/text()&#8217;, Name::XML)) AS TEXT) AS City<br />
		,CAST(unnest(xpath(&#8216;//Gender/text()&#8217;, Name::XML)) AS TEXT) AS Gender<br />
		,CAST(unnest(xpath(&#8216;//Age/text()&#8217;, Name::XML)) AS TEXT) AS Age<br />
	FROM XMLTEST<br />
)<br />
SELECT *FROM cteXML<br />
WHERE Name=&#8217;Anvesh&#8217;;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: hagai		</title>
		<link>https://www.dbrnd.com/2015/05/postgresql-xml-type/#comment-4730</link>

		<dc:creator><![CDATA[hagai]]></dc:creator>
		<pubDate>Thu, 05 May 2016 05:45:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=175#comment-4730</guid>

					<description><![CDATA[can you give an example of a query that involve where clause in the xpath ?]]></description>
			<content:encoded><![CDATA[<p>can you give an example of a query that involve where clause in the xpath ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Maria		</title>
		<link>https://www.dbrnd.com/2015/05/postgresql-xml-type/#comment-53</link>

		<dc:creator><![CDATA[Maria]]></dc:creator>
		<pubDate>Wed, 16 Sep 2015 17:02:04 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=175#comment-53</guid>

					<description><![CDATA[Thanks Anvesh,
good article !
Really You solved my problem for postgres XML.

]]></description>
			<content:encoded><![CDATA[<p>Thanks Anvesh,<br />
good article !<br />
Really You solved my problem for postgres XML.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
