<?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"
	>
<channel>
	<title>Comments on: Real XQuery</title>
	<atom:link href="http://blakeley.com/wordpress/archives/264/feed" rel="self" type="application/rss+xml" />
	<link>http://blakeley.com/wordpress/archives/264</link>
	<description>...you are here...</description>
	<pubDate>Tue, 06 Jan 2009 03:27:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Michael Blakeley</title>
		<link>http://blakeley.com/wordpress/archives/264#comment-51</link>
		<dc:creator>Michael Blakeley</dc:creator>
		<pubDate>Sun, 20 May 2007 18:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.blakeley.com/wordpress/archives/264#comment-51</guid>
		<description>Now that 3.2-1 has been released, we can write the first query more simply, and without any magic:

&lt;code xml:space="preserve"&gt;declare namespace xh="http://www.w3.org/1999/xhtml"

let $uri := 'http://www.camranorthlondon.org.uk/nlpg/wc1.html'
return xdmp:document-insert(
  $uri,
  xdmp:tidy(xdmp:document-get(
    $uri,
    &#60;options xmlns="xdmp:document-get"&gt;
      &#60;encoding&gt;CP1252&#60;/encoding&gt;
    &#60;/options&gt;))/xh:html
)&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Now that 3.2-1 has been released, we can write the first query more simply, and without any magic:</p>
<p><code xml:space="preserve">declare namespace xh="http://www.w3.org/1999/xhtml"</p>
<p>let $uri := 'http://www.camranorthlondon.org.uk/nlpg/wc1.html'<br />
return xdmp:document-insert(<br />
  $uri,<br />
  xdmp:tidy(xdmp:document-get(<br />
    $uri,<br />
    &lt;options xmlns="xdmp:document-get"><br />
      &lt;encoding>CP1252&lt;/encoding><br />
    &lt;/options>))/xh:html<br />
)</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.398 seconds -->
