<?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: XMLType and DBMS_OUTPUT</title>
	<atom:link href="http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=xmltype-and-dbms_output</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Dan Brown</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3767</link>
		<dc:creator>Dan Brown</dc:creator>
		<pubDate>Wed, 04 Apr 2007 11:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3767</guid>
		<description><![CDATA[Thanks for this, I was racking my head how to pretty-print some XML out of an XMLTYPE (it seems to lose all formatting as soon as you do an XMLTYPE function on it - e.g. UPDATEXML etc) and now I can just use the EXTRACT(&#039;/*&#039;) ! Marvellous!]]></description>
		<content:encoded><![CDATA[<p>Thanks for this, I was racking my head how to pretty-print some XML out of an XMLTYPE (it seems to lose all formatting as soon as you do an XMLTYPE function on it &#8211; e.g. UPDATEXML etc) and now I can just use the EXTRACT(&#8216;/*&#8217;) ! Marvellous!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Gralike</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3766</link>
		<dc:creator>Marco Gralike</dc:creator>
		<pubDate>Thu, 26 Oct 2006 08:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3766</guid>
		<description><![CDATA[See the XMLDB forum: http://forums.oracle.com/forums/search.jspa?objID=f34&amp;q=ora-31011 for ideas]]></description>
		<content:encoded><![CDATA[<p>See the XMLDB forum: <a href="http://forums.oracle.com/forums/search.jspa?objID=f34&#038;q=ora-31011" rel="nofollow">http://forums.oracle.com/forums/search.jspa?objID=f34&#038;q=ora-31011</a> for ideas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niles</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3765</link>
		<dc:creator>Niles</dc:creator>
		<pubDate>Wed, 25 Oct 2006 00:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3765</guid>
		<description><![CDATA[RE: executing
select XMLElement(â€TheDateâ€, sysdate) from dual

&gt; ok if your database is not UTF-8
&gt; errors with &#039;ora-31011 xml parsing failed&#039; if database is UTF-8
I have yet to find out what&#039;s causing  this is and what the solution/workaround is...]]></description>
		<content:encoded><![CDATA[<p>RE: executing<br />
select XMLElement(â€TheDateâ€, sysdate) from dual</p>
<p>&gt; ok if your database is not UTF-8<br />
&gt; errors with &#8216;ora-31011 xml parsing failed&#8217; if database is UTF-8<br />
I have yet to find out what&#8217;s causing  this is and what the solution/workaround is&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Nuijten</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3764</link>
		<dc:creator>Alex Nuijten</dc:creator>
		<pubDate>Mon, 18 Sep 2006 09:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3764</guid>
		<description><![CDATA[Hi Han,
I think this has to do with the SQL*Plus client that you use. At this site, I use SQL*Plus: Release 9.2.0.6.0 and it yields this result:
SQL&gt; select XMLElement(&quot;TheDate&quot;, sysdate) from dual;

XMLELEMENT(&quot;THEDATE&quot;,SYSDATE)
-----------------------------------------------------

18-SEP-06

I do remember that we used to have an older version and it would show the XMLTypes as you describe.]]></description>
		<content:encoded><![CDATA[<p>Hi Han,<br />
I think this has to do with the SQL*Plus client that you use. At this site, I use SQL*Plus: Release 9.2.0.6.0 and it yields this result:<br />
SQL&gt; select XMLElement(&#8220;TheDate&#8221;, sysdate) from dual;</p>
<p>XMLELEMENT(&#8220;THEDATE&#8221;,SYSDATE)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>18-SEP-06</p>
<p>I do remember that we used to have an older version and it would show the XMLTypes as you describe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Han Kulker</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3763</link>
		<dc:creator>Han Kulker</dc:creator>
		<pubDate>Fri, 15 Sep 2006 13:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3763</guid>
		<description><![CDATA[I can&#039;t use this statement,  do i need to install extra XML stuff on the database ?

SQLPlus Release 9.0.1.4.0

SQL&gt; select XMLElement(â€TheDateâ€, sysdate) from dual;

XMLELEMENT(â€THEDATEâ€,SYSDATE)()
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€“
XMLTYPE()]]></description>
		<content:encoded><![CDATA[<p>I can&#8217;t use this statement,  do i need to install extra XML stuff on the database ?</p>
<p>SQLPlus Release 9.0.1.4.0</p>
<p>SQL&gt; select XMLElement(â€TheDateâ€, sysdate) from dual;</p>
<p>XMLELEMENT(â€THEDATEâ€,SYSDATE)()<br />
â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€”â€“<br />
XMLTYPE()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Nuijten</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3762</link>
		<dc:creator>Alex Nuijten</dc:creator>
		<pubDate>Mon, 21 Aug 2006 07:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3762</guid>
		<description><![CDATA[Thanks Marco for this link to the Forums! Like I said my Google skills aren&#039;t that great. I would never thought of using &quot;pretty print&quot; as a search term.
Changing the Long to a LOB? Probably. Maybe it would suffice to use VARCHAR2... I can&#039;t get used to DBMS_LOB to manipulate Lobs...]]></description>
		<content:encoded><![CDATA[<p>Thanks Marco for this link to the Forums! Like I said my Google skills aren&#8217;t that great. I would never thought of using &#8220;pretty print&#8221; as a search term.<br />
Changing the Long to a LOB? Probably. Maybe it would suffice to use VARCHAR2&#8230; I can&#8217;t get used to DBMS_LOB to manipulate Lobs&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Gralike</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3761</link>
		<dc:creator>Marco Gralike</dc:creator>
		<pubDate>Sat, 19 Aug 2006 01:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3761</guid>
		<description><![CDATA[For &quot;extract&quot; and &quot;pretty print&quot; see also http://forums.oracle.com/forums/search.jspa?objID=f34&amp;q=extract+pretty+print]]></description>
		<content:encoded><![CDATA[<p>For &#8220;extract&#8221; and &#8220;pretty print&#8221; see also <a href="http://forums.oracle.com/forums/search.jspa?objID=f34&#038;q=extract+pretty+print" rel="nofollow">http://forums.oracle.com/forums/search.jspa?objID=f34&#038;q=extract+pretty+print</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Gralike</title>
		<link>http://technology.amis.nl/2006/08/07/xmltype-and-dbms_output/#comment-3760</link>
		<dc:creator>Marco Gralike</dc:creator>
		<pubDate>Sat, 19 Aug 2006 01:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1307#comment-3760</guid>
		<description><![CDATA[Alex,

wouldn&#039;t it be better to use &quot;clob&quot; instead of your &quot;long&quot; datatype (l_str=long; - anyway will the long data type not be depricated, despite the fact that is a nasty datatype to handle)?.

The pretty print is caused because you used &quot;extract(â€™/*â€™)&quot; this (=extract) will give the layout you want, or not want, pretty print layout is the default behaviour for &quot;extract&quot; (you can alter this behaviour if you are using XML schemas and using a high Oracle 10.2.x version).]]></description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>wouldn&#8217;t it be better to use &#8220;clob&#8221; instead of your &#8220;long&#8221; datatype (l_str=long; &#8211; anyway will the long data type not be depricated, despite the fact that is a nasty datatype to handle)?.</p>
<p>The pretty print is caused because you used &#8220;extract(â€™/*â€™)&#8221; this (=extract) will give the layout you want, or not want, pretty print layout is the default behaviour for &#8220;extract&#8221; (you can alter this behaviour if you are using XML schemas and using a high Oracle 10.2.x version).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
