<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shawson&#039;s Code Blog &#187; XML</title>
	<atom:link href="http://codeblog.shawson.co.uk/category/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeblog.shawson.co.uk</link>
	<description>development notes for my failing memory</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:00:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Paged List of Child Nodes in Umbraco</title>
		<link>http://codeblog.shawson.co.uk/paged-list-of-child-nodes-un-umbraco/</link>
		<comments>http://codeblog.shawson.co.uk/paged-list-of-child-nodes-un-umbraco/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:13:06 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=388</guid>
		<description><![CDATA[We just started looking at Umbraco- and so I&#8217;m delving into Macro&#8217;s &#8211; these are the packaged up chunks of functionality which make your site actually do things and either take the form of XSLT files which process and spit out the contents of your database, or dot net controls. I found an excellent example [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/umbraco-installation-folder-permissions-setup/' rel='bookmark' title='Umbraco Installation &#8211; folder permissions setup'>Umbraco Installation &#8211; folder permissions setup</a></li>
<li><a href='http://codeblog.shawson.co.uk/giving-umbraco-trees-children/' rel='bookmark' title='Giving Umbraco custom tree&#8217;s children!'>Giving Umbraco custom tree&#8217;s children!</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>We just started looking at Umbraco- and so I&#8217;m delving into Macro&#8217;s &#8211; these are the packaged up chunks of functionality which make your site actually do things and either take the form of XSLT files which process and spit out the contents of your database, or dot net controls.</p>
<p>I found an excellent example XSLT that allows you to create a paginated list of child nodes over on <a href="http://www.nibble.be/?p=11">Tim Geyssens &#8220;nibble&#8221; blog</a>, and I&#8217;ve modified it ever so slightly to stop the numerical index rendering if the pagecount is less than 2- so thought I would re-post it!</p>
<pre class="brush: xslt">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!DOCTYPE xsl:stylesheet [
  &lt;!ENTITY nbsp &quot;&amp;amp;amp;amp;#x00A0;&quot;&gt;
]&gt;
&lt;xsl:stylesheet
version=&quot;1.0&quot;
xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;
xmlns:msxml=&quot;urn:schemas-microsoft-com:xslt&quot;
xmlns:umbraco.library=&quot;urn:umbraco.library&quot;
exclude-result-prefixes=&quot;msxml umbraco.library&quot;&gt;

  &lt;xsl:output method=&quot;xml&quot; omit-xml-declaration=&quot;yes&quot;/&gt;
  &lt;xsl:param name=&quot;currentPage&quot;/&gt;
  &lt;xsl:template match=&quot;/&quot;&gt;

    &lt;xsl:variable name=&quot;recordsPerPage&quot; select=&quot;/macro/recordsPerPage&quot;/&gt;
    &lt;xsl:variable name=&quot;pageNumber&quot; &gt;
      &lt;xsl:choose&gt;
        &lt;!-- first page --&gt;
        &lt;xsl:when test=&quot;umbraco.library:RequestQueryString(&#039;page&#039;) &lt;= 0 or string(umbraco.library:RequestQueryString(&#039;page&#039;)) = &#039;&#039; or string(umbraco.library:RequestQueryString(&#039;page&#039;)) = &#039;NaN&#039;&quot;&gt;0&lt;/xsl:when&gt;
        &lt;!-- what was passed in --&gt;
        &lt;xsl:otherwise&gt;
          &lt;xsl:value-of select=&quot;umbraco.library:RequestQueryString(&#039;page&#039;)&quot;/&gt;
        &lt;/xsl:otherwise&gt;
      &lt;/xsl:choose&gt;

    &lt;/xsl:variable&gt; &amp;amp;amp;amp;nbsp;

    &lt;xsl:variable name=&quot;numberOfRecords&quot; select=&quot;count($currentPage/node)&quot;/&gt;

    &lt;!-- The fun starts here --&gt;
    &lt;ul&gt;
      &lt;xsl:for-each select=&quot;$currentPage/node [string(data [@alias=&#039;umbracoNaviHide&#039;]) != &#039;1&#039;]&quot;&gt;
        &lt;xsl:if test=&quot;position() &gt; $recordsPerPage * number($pageNumber) and
position() &lt;= number($recordsPerPage * number($pageNumber) +
$recordsPerPage )&quot;&gt;
          &lt;li&gt;
            &lt;a href=&quot;{umbraco.library:NiceUrl(@id)}&quot;&gt;
              &lt;xsl:value-of select=&quot;@nodeName&quot;/&gt;

            &lt;/a&gt;
          &lt;/li&gt;
        &lt;/xsl:if&gt;
      &lt;/xsl:for-each&gt;
    &lt;/ul&gt;

    &lt;xsl:if test=&quot;$pageNumber &gt; 0&quot;&gt;
      &lt;a href=&quot;?page={$pageNumber -1}&quot;&gt;previous &lt;/a&gt;
    &lt;/xsl:if&gt;

&lt;xsl:if test=&quot;($numberOfRecords &gt; $recordsPerPage)&quot;&gt;
    &lt;xsl:call-template name=&quot;for.loop&quot;&gt;
      &lt;xsl:with-param name=&quot;i&quot;&gt;1&lt;/xsl:with-param&gt;
      &lt;xsl:with-param name=&quot;page&quot; select=&quot;$pageNumber +1&quot;&gt;&lt;/xsl:with-param&gt;
      &lt;xsl:with-param name=&quot;count&quot; select=&quot;ceiling(count($currentPage/node)div $recordsPerPage)&quot;&gt;&lt;/xsl:with-param&gt;
    &lt;/xsl:call-template&gt;
&lt;/xsl:if&gt;

    &lt;xsl:if test=&quot;(($pageNumber +1 ) * $recordsPerPage) &lt; ($numberOfRecords)&quot;&gt;
      &lt;a href=&quot;?page={$pageNumber +1}&quot;&gt;next&lt;/a&gt;
    &lt;/xsl:if&gt;
  &lt;/xsl:template&gt;

  &lt;xsl:template name=&quot;for.loop&quot;&gt;

    &lt;xsl:param name=&quot;i&quot;/&gt;
    &lt;xsl:param name=&quot;count&quot;/&gt;
    &lt;xsl:param name=&quot;page&quot;/&gt;
    &lt;xsl:if test=&quot;$i &lt;= $count - 1&quot;&gt;

      &lt;xsl:if test=&quot;$page != $i&quot;&gt;
        &lt;a href=&quot;{umbraco.library:NiceUrl($currentPage/@id)}?page={$i - 1}&quot; &gt;

          &lt;xsl:value-of select=&quot;$i&quot; /&gt;
        &lt;/a&gt;
      &lt;/xsl:if&gt;

      &lt;xsl:if test=&quot;$page = $i&quot;&gt;

        &lt;xsl:value-of select=&quot;$i&quot; /&gt;

      &lt;/xsl:if&gt;
    &lt;/xsl:if&gt;
    &lt;xsl:if test=&quot;$i &lt;= $count - 1&quot;&gt;
      &lt;xsl:call-template name=&quot;for.loop&quot;&gt;
        &lt;xsl:with-param name=&quot;i&quot;&gt;
          &lt;xsl:value-of select=&quot;$i + 1&quot;/&gt;
        &lt;/xsl:with-param&gt;
        &lt;xsl:with-param name=&quot;count&quot;&gt;
          &lt;xsl:value-of select=&quot;$count&quot;/&gt;
        &lt;/xsl:with-param&gt;
        &lt;xsl:with-param name=&quot;page&quot;&gt;
          &lt;xsl:value-of select=&quot;$page&quot;/&gt;
        &lt;/xsl:with-param&gt;
      &lt;/xsl:call-template&gt;
    &lt;/xsl:if&gt;
  &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;
</pre>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/umbraco-installation-folder-permissions-setup/' rel='bookmark' title='Umbraco Installation &#8211; folder permissions setup'>Umbraco Installation &#8211; folder permissions setup</a></li>
<li><a href='http://codeblog.shawson.co.uk/giving-umbraco-trees-children/' rel='bookmark' title='Giving Umbraco custom tree&#8217;s children!'>Giving Umbraco custom tree&#8217;s children!</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/paged-list-of-child-nodes-un-umbraco/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Syndicating to RSS using the built in .net SyndicationFeed classes</title>
		<link>http://codeblog.shawson.co.uk/syndicating-to-rss-using-the-build-in-net-syndicationfeed-classes/</link>
		<comments>http://codeblog.shawson.co.uk/syndicating-to-rss-using-the-build-in-net-syndicationfeed-classes/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 11:31:20 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[C#.net]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[extension methods]]></category>
		<category><![CDATA[generic list]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[syndication]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=314</guid>
		<description><![CDATA[My boss recently showed me a pretty handy bunch of classes for generating RSS and ATOM feeds, all built into dot net. Start by adding a new reference to your project; System.Services.Web. The SyndicationFeed class holds all the data about your feed and lets you spit everything out in a number of different formats (RSS2.0, [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/rss-xslt/' rel='bookmark' title='RSS XSLT'>RSS XSLT</a></li>
<li><a href='http://codeblog.shawson.co.uk/entity-framework-4-1-code-first-with-one-to-many-relationship-code-example/' rel='bookmark' title='Entity Framework 4.1 Code First (With One to Many relationship) Code Example'>Entity Framework 4.1 Code First (With One to Many relationship) Code Example</a></li>
<li><a href='http://codeblog.shawson.co.uk/asp-net-aspx-pages-posting-back-to-the-wrong-url-when-using-server-rewrite/' rel='bookmark' title='ASP.net aspx pages posting back to the wrong URL when using Server Rewrite'>ASP.net aspx pages posting back to the wrong URL when using Server Rewrite</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>My boss recently showed me a pretty handy bunch of classes for generating RSS and ATOM feeds, all built into dot net.</p>
<p>Start by adding a new reference to your project; System.Services.Web.</p>
<p>The SyndicationFeed class holds all the data about your feed and lets you spit everything out in a number of different formats (RSS2.0, ATOM1.0)- each item in the feed is held in a generic list of SyndicationItem objects.  As I work for a publishers, I was creating an RSS feed of coming soon books so I added an extension method to my book class- ToSyndicationItem();</p>
<pre class="brush: csharp">
public static SyndicationItem ToSyndicationItem(this Book book)
{
    return new SyndicationItem(book.CoverTitle + &quot; &quot; + book.Subtitle, book.Description, new Uri(book.GetURL()))
    {
        Summary = new TextSyndicationContent(book.DescriptionShort, TextSyndicationContentKind.Plaintext),
        Id = book.Id.ToString(),
        LastUpdatedTime = book.InsertedDate
    };
}
</pre>
<p>This allows me to use all the standard select methods I already in my book class, to also populate my RSS feed.  So to create the feed all I need do in my RSS.ashx handler file is;</p>
<pre class="brush: csharp">
List&lt;Book&gt; books = Book.GetBookPublishedBetween(DateTime.Now,DateTime.Now.AddDays( int.Parse( GroupConstants.ComingSoonMaxDays)));
List&lt;SyndicationItem&gt; syndicationItems = new List&lt;SyndicationItem&gt;();
foreach (Book book in books)
    syndicationItems.Add(book.ToSyndicationItem());

feed = new SyndicationFeed(syndicationItems)
{
    Title = new TextSyndicationContent(&quot;Coming Soon Titles&quot;),
    Description = new TextSyndicationContent(&quot;Forthcoming publications.&quot;),
    BaseUri = new Uri(LinkHelper.GetBaseUrl())
};

var output = new StringWriter();
var writer = new XmlTextWriter(output);

new Rss20FeedFormatter(feed).WriteTo(writer);

context.Response.ContentType = &quot;application/rss+xml&quot;;
context.Response.Write(output.ToString());
</pre>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/rss-xslt/' rel='bookmark' title='RSS XSLT'>RSS XSLT</a></li>
<li><a href='http://codeblog.shawson.co.uk/entity-framework-4-1-code-first-with-one-to-many-relationship-code-example/' rel='bookmark' title='Entity Framework 4.1 Code First (With One to Many relationship) Code Example'>Entity Framework 4.1 Code First (With One to Many relationship) Code Example</a></li>
<li><a href='http://codeblog.shawson.co.uk/asp-net-aspx-pages-posting-back-to-the-wrong-url-when-using-server-rewrite/' rel='bookmark' title='ASP.net aspx pages posting back to the wrong URL when using Server Rewrite'>ASP.net aspx pages posting back to the wrong URL when using Server Rewrite</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/syndicating-to-rss-using-the-build-in-net-syndicationfeed-classes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RSS XSLT</title>
		<link>http://codeblog.shawson.co.uk/rss-xslt/</link>
		<comments>http://codeblog.shawson.co.uk/rss-xslt/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 10:08:09 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[XPath]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=309</guid>
		<description><![CDATA[Simple piece of XSL to format an RSS Feed; &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62; &#60;xsl:stylesheet version=&#34;1.0&#34; xmlns:xsl=&#34;http://www.w3.org/1999/XSL/Transform&#34;&#62; &#60;xsl:output method=&#34;html&#34;&#62;&#60;/xsl:output&#62; &#60;xsl:template match=&#34;rss/channel/item&#34;&#62; &#60;li&#62; &#60;a href=&#34;{link}&#34; title=&#34;{title}&#34;&#62; &#60;xsl:value-of select=&#34;title&#34; /&#62; &#60;/a&#62; &#60;p&#62; &#60;xsl:value-of select=&#34;description&#34; /&#62; &#60;/p&#62; &#60;/li&#62; &#60;/xsl:template&#62; &#60;/xsl:stylesheet&#62; Related posts:Syndicating to RSS using the built in .net SyndicationFeed classes Consuming RSS Feeds using ASP.net controls


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/syndicating-to-rss-using-the-build-in-net-syndicationfeed-classes/' rel='bookmark' title='Syndicating to RSS using the built in .net SyndicationFeed classes'>Syndicating to RSS using the built in .net SyndicationFeed classes</a></li>
<li><a href='http://codeblog.shawson.co.uk/consuming-rss-feeds-using-asp-net-controls/' rel='bookmark' title='Consuming RSS Feeds using ASP.net controls'>Consuming RSS Feeds using ASP.net controls</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Simple piece of XSL to format an RSS Feed;</p>
<pre class="brush: html">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;xsl:stylesheet version=&quot;1.0&quot; xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;
 &lt;xsl:output method=&quot;html&quot;&gt;&lt;/xsl:output&gt;
    &lt;xsl:template match=&quot;rss/channel/item&quot;&gt;
    &lt;li&gt;
      &lt;a href=&quot;{link}&quot; title=&quot;{title}&quot;&gt;
        &lt;xsl:value-of select=&quot;title&quot; /&gt;
      &lt;/a&gt;
      &lt;p&gt;
        &lt;xsl:value-of select=&quot;description&quot; /&gt;
      &lt;/p&gt;
    &lt;/li&gt;
  &lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;
</pre>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/syndicating-to-rss-using-the-build-in-net-syndicationfeed-classes/' rel='bookmark' title='Syndicating to RSS using the built in .net SyndicationFeed classes'>Syndicating to RSS using the built in .net SyndicationFeed classes</a></li>
<li><a href='http://codeblog.shawson.co.uk/consuming-rss-feeds-using-asp-net-controls/' rel='bookmark' title='Consuming RSS Feeds using ASP.net controls'>Consuming RSS Feeds using ASP.net controls</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/rss-xslt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consuming RSS Feeds using ASP.net controls</title>
		<link>http://codeblog.shawson.co.uk/consuming-rss-feeds-using-asp-net-controls/</link>
		<comments>http://codeblog.shawson.co.uk/consuming-rss-feeds-using-asp-net-controls/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 15:20:04 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XPath]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=302</guid>
		<description><![CDATA[Real simple example, using an XmlDataSource and my new super best friend, the ListView control; &#60;asp:ListView ID=&#34;RSSList&#34; runat=&#34;server&#34; DataSourceID=&#34;RSSData&#34;&#62; &#60;LayoutTemplate&#62; &#60;ul&#62; &#60;li id=&#34;itemPlaceholder&#34; runat=&#34;server&#34; /&#62; &#60;/ul&#62; &#60;/LayoutTemplate&#62; &#60;ItemTemplate&#62; &#60;li&#62;&#60;h2&#62; &#60;%#XPath(&#34;title&#34;) %&#62; &#60;/h2&#62; &#60;%#XPath(&#34;author&#34;) %&#62; &#60;a href=&#039;&#60;%#XPath(&#34;link&#34;) %&#62;&#039; title=&#039;&#039;&#62;View Original Post&#60;/a&#62; &#60;/li&#62; &#60;/ItemTemplate&#62; &#60;/asp:ListView&#62; &#60;asp:XmlDataSource ID=&#34;RSSData&#34; runat=&#34;server&#34; DataFile=&#34;http://www.shawson.co.uk/codeblog/feed/&#34; XPath=&#34;rss/channel/item&#34;&#62; &#60;/asp:XmlDataSource&#62; Related posts:Asp.net nested ListView control&#8217;s, with [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/aspnet-nested-listview-controls-with-all-edit-functionality-working/' rel='bookmark' title='Asp.net nested ListView control&#8217;s, with edit functionality- example'>Asp.net nested ListView control&#8217;s, with edit functionality- example</a></li>
<li><a href='http://codeblog.shawson.co.uk/how-to-display-hierarchical-data-by-using-nested-repeater-controls-and-visual-c-net/' rel='bookmark' title='How To Display Hierarchical Data Using Nested Repeater Controls and Visual C# .NET'>How To Display Hierarchical Data Using Nested Repeater Controls and Visual C# .NET</a></li>
<li><a href='http://codeblog.shawson.co.uk/using-findcontrol-to-find-a-repeater-nested-inside-a-repeater-with-headertemplate-or-footertemplate-defined/' rel='bookmark' title='Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined'>Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Real simple example, using an XmlDataSource and my new super best friend, the ListView control;</p>
<pre class="brush: html">
    &lt;asp:ListView ID=&quot;RSSList&quot; runat=&quot;server&quot; DataSourceID=&quot;RSSData&quot;&gt;
        &lt;LayoutTemplate&gt;
            &lt;ul&gt;
                &lt;li id=&quot;itemPlaceholder&quot; runat=&quot;server&quot; /&gt;
            &lt;/ul&gt;
        &lt;/LayoutTemplate&gt;
        &lt;ItemTemplate&gt;
            &lt;li&gt;&lt;h2&gt;
                &lt;%#XPath(&quot;title&quot;) %&gt;
            &lt;/h2&gt;

            &lt;%#XPath(&quot;author&quot;) %&gt;
            &lt;a href=&#039;&lt;%#XPath(&quot;link&quot;) %&gt;&#039; title=&#039;&#039;&gt;View Original Post&lt;/a&gt;
            &lt;/li&gt;
        &lt;/ItemTemplate&gt;
    &lt;/asp:ListView&gt;
    &lt;asp:XmlDataSource
        ID=&quot;RSSData&quot;
        runat=&quot;server&quot;
        DataFile=&quot;http://www.shawson.co.uk/codeblog/feed/&quot;
        XPath=&quot;rss/channel/item&quot;&gt;
    &lt;/asp:XmlDataSource&gt;
</pre>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/aspnet-nested-listview-controls-with-all-edit-functionality-working/' rel='bookmark' title='Asp.net nested ListView control&#8217;s, with edit functionality- example'>Asp.net nested ListView control&#8217;s, with edit functionality- example</a></li>
<li><a href='http://codeblog.shawson.co.uk/how-to-display-hierarchical-data-by-using-nested-repeater-controls-and-visual-c-net/' rel='bookmark' title='How To Display Hierarchical Data Using Nested Repeater Controls and Visual C# .NET'>How To Display Hierarchical Data Using Nested Repeater Controls and Visual C# .NET</a></li>
<li><a href='http://codeblog.shawson.co.uk/using-findcontrol-to-find-a-repeater-nested-inside-a-repeater-with-headertemplate-or-footertemplate-defined/' rel='bookmark' title='Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined'>Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/consuming-rss-feeds-using-asp-net-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visually build XPath using &#8220;Sketch Path&#8221;</title>
		<link>http://codeblog.shawson.co.uk/visually-build-xpath-using-sketch-path/</link>
		<comments>http://codeblog.shawson.co.uk/visually-build-xpath-using-sketch-path/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 10:59:44 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[Web Services]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XPath]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=202</guid>
		<description><![CDATA[Paul found an awesome tool fopr visually parsing XML files and building XPath statements, called Sketch Path available for download here Related posts:Consuming RSS Feeds using ASP.net controls Web Services Debugging with Fiddler 2 Making your WCF Service compatible with legacy .net 1.1 applications


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/consuming-rss-feeds-using-asp-net-controls/' rel='bookmark' title='Consuming RSS Feeds using ASP.net controls'>Consuming RSS Feeds using ASP.net controls</a></li>
<li><a href='http://codeblog.shawson.co.uk/web-services-debugging-with-fiddler-2/' rel='bookmark' title='Web Services Debugging with Fiddler 2'>Web Services Debugging with Fiddler 2</a></li>
<li><a href='http://codeblog.shawson.co.uk/making-your-wcf-service-compatible-with-legacy-net-1-1-applications/' rel='bookmark' title='Making your WCF Service compatible with legacy .net 1.1 applications'>Making your WCF Service compatible with legacy .net 1.1 applications</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Paul found an awesome tool fopr visually parsing XML files and building XPath statements, called <a href="http://pgfearo.googlepages.com/home" target="_blank">Sketch Path available for download here</a></p>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/consuming-rss-feeds-using-asp-net-controls/' rel='bookmark' title='Consuming RSS Feeds using ASP.net controls'>Consuming RSS Feeds using ASP.net controls</a></li>
<li><a href='http://codeblog.shawson.co.uk/web-services-debugging-with-fiddler-2/' rel='bookmark' title='Web Services Debugging with Fiddler 2'>Web Services Debugging with Fiddler 2</a></li>
<li><a href='http://codeblog.shawson.co.uk/making-your-wcf-service-compatible-with-legacy-net-1-1-applications/' rel='bookmark' title='Making your WCF Service compatible with legacy .net 1.1 applications'>Making your WCF Service compatible with legacy .net 1.1 applications</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/visually-build-xpath-using-sketch-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick XML serialisation of an object..</title>
		<link>http://codeblog.shawson.co.uk/quick-xml-serialisation-of-an-object/</link>
		<comments>http://codeblog.shawson.co.uk/quick-xml-serialisation-of-an-object/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:16:03 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[C#.net]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=197</guid>
		<description><![CDATA[Quick code snippet for taking a serialisable object, serialising to XMl then spitting out a string for you to write out to a debug log or something- i used this for spitting back the responses I was getting from a web service call i was making StringBuilder sb_xml = new StringBuilder(); XmlSerializer s = new [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/a-complete-list-of-net-serializers-in-3-5/' rel='bookmark' title='A complete list of .NET Serializers in 3.5'>A complete list of .NET Serializers in 3.5</a></li>
<li><a href='http://codeblog.shawson.co.uk/syndicating-to-rss-using-the-build-in-net-syndicationfeed-classes/' rel='bookmark' title='Syndicating to RSS using the built in .net SyndicationFeed classes'>Syndicating to RSS using the built in .net SyndicationFeed classes</a></li>
<li><a href='http://codeblog.shawson.co.uk/web-services-debugging-with-fiddler-2/' rel='bookmark' title='Web Services Debugging with Fiddler 2'>Web Services Debugging with Fiddler 2</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Quick code snippet for taking a serialisable object, serialising to XMl then spitting out a string for you to write out to a debug log or something- i used this for spitting back the responses I was getting from a web service call i was making</p>
<pre class="brush: csharp">
            StringBuilder sb_xml = new StringBuilder();
            XmlSerializer s = new XmlSerializer( typeof( Hachette.Checkout.Vista.Stock.ProductStockLiteResultResponse ) );
            StringWriter w = new StringWriter(sb_xml);
            s.Serialize(w, ws_response);
            w.Close();
            Response.Write(&quot;&lt;!-- Response = &quot; + sb_xml + &quot; --&gt;&quot;);
</pre>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/a-complete-list-of-net-serializers-in-3-5/' rel='bookmark' title='A complete list of .NET Serializers in 3.5'>A complete list of .NET Serializers in 3.5</a></li>
<li><a href='http://codeblog.shawson.co.uk/syndicating-to-rss-using-the-build-in-net-syndicationfeed-classes/' rel='bookmark' title='Syndicating to RSS using the built in .net SyndicationFeed classes'>Syndicating to RSS using the built in .net SyndicationFeed classes</a></li>
<li><a href='http://codeblog.shawson.co.uk/web-services-debugging-with-fiddler-2/' rel='bookmark' title='Web Services Debugging with Fiddler 2'>Web Services Debugging with Fiddler 2</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/quick-xml-serialisation-of-an-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

