<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2620691101637964354</id><updated>2012-02-16T10:15:28.803-05:00</updated><title type='text'>RamblingThoughts</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-6389191135335735093</id><published>2010-10-05T11:57:00.002-04:00</published><updated>2010-10-05T12:03:44.261-04:00</updated><title type='text'></title><content type='html'>&lt;strong&gt;NY to FL Aboard the Roadrunner Trip Log&lt;/strong&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_wutfZ1gKB2Q/TKtLWSwPYzI/AAAAAAAAACY/TGPAxaUzvBc/s1600/Roadrunner+Log_0.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 310px;" src="http://2.bp.blogspot.com/_wutfZ1gKB2Q/TKtLWSwPYzI/AAAAAAAAACY/TGPAxaUzvBc/s400/Roadrunner+Log_0.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5524592214263423794" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-6389191135335735093?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/6389191135335735093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=6389191135335735093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/6389191135335735093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/6389191135335735093'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2010/10/ny-to-fl-aboard-roadrunner-trip-log.html' title=''/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_wutfZ1gKB2Q/TKtLWSwPYzI/AAAAAAAAACY/TGPAxaUzvBc/s72-c/Roadrunner+Log_0.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-1501238393484286410</id><published>2010-10-04T21:32:00.004-04:00</published><updated>2010-10-08T10:35:55.104-04:00</updated><title type='text'></title><content type='html'>&lt;strong&gt;&lt;span style="font-weight: normal;"&gt;Here are some video's from a trip I recently made. I have posted them here as an example of how to code them for the &lt;a href="http://nytoflaboardtheroadrunner.blogspot.com"&gt;NY to FL Aboard the RoadRunner blog&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Skipper Bob's video in New York City&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/qGC1qFDR5So?hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/qGC1qFDR5So?hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Skipper Bob's video in Norfolk&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/T0Ax0N3DTIc?hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/T0Ax0N3DTIc?hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Skipper Bob's interview with the crew&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/7K0AQ5gBMyE?hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/7K0AQ5gBMyE?hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-1501238393484286410?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/1501238393484286410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=1501238393484286410' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/1501238393484286410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/1501238393484286410'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2010/10/skipper-bobs-video-in-new-york-city.html' title=''/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-2253638757562277616</id><published>2009-03-05T19:10:00.001-05:00</published><updated>2009-03-05T19:10:38.344-05:00</updated><title type='text'>MVC Up and Running on my Host's Server</title><content type='html'>I use Applied Innovation for my hosted server. I recently tried to publish my technology site  which is an ASP.NET MVC application. No luck. Could not get it to recognize the routing stuff.  I contacted their support staff and in a couple of hours, they made the fixes they needed to make and it's working perfectly now! &lt;p&gt; The site is &lt;a href="http://www.kreiselman.com/technology"&gt;www.kreiselman.com/technology&lt;/a&gt; &lt;/p&gt; It's very new and will change as I get time to work on it.  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-2253638757562277616?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/2253638757562277616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=2253638757562277616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/2253638757562277616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/2253638757562277616'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2009/03/mvc-up-and-running-on-my-host-server.html' title='MVC Up and Running on my Host&amp;#39;s Server'/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-5603286002808401558</id><published>2009-02-10T16:34:00.006-05:00</published><updated>2009-02-13T06:07:53.977-05:00</updated><title type='text'>Xml to Html Using LINQ</title><content type='html'>&lt;div style="background-color: silver; padding-top:10px; padding-right: 10px;; padding-left:10px; padding-bottom: 10px;"&gt;  &lt;div&gt; &lt;p&gt;Here’s something I just worked up to convert Xml to Html using Linq. My goal was to produce output that looks like:&lt;/div&gt; &lt;a href="http://lh4.ggpht.com/_wutfZ1gKB2Q/SZHy5WW5SKI/AAAAAAAAABk/X4jLgEAJ364/s1600-h/goal%5B2%5D.png"&gt;&lt;img title="goal" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="goal" src="http://lh5.ggpht.com/_wutfZ1gKB2Q/SZHy5-hkHnI/AAAAAAAAABw/WsSJ_uT5gFA/goal_thumb.png?imgmax=800" width="166" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;The xml string I have to work with is:&lt;/p&gt;    &lt;div style="font-family: Verdana; color: blue;"&gt;     &lt;p&gt;&amp;lt;Layers request='GetLayerFieldInfo' count='9' message=''&amp;gt;        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='AirportOverlayDistrict'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='1'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='id' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='CarpenterHistoricDistrict'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='2'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='name' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='calcac' type='decimal' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='GreenLevelHistoricDistrict'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='2'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='name' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='calcac' type='decimal' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='ConservResOverlayDistrict'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='2'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='type' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='acres' type='decimal' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='NWAreaPlan'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='1'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='name' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='SEAreaPlan'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='2'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='name' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='calcac' type='decimal' /&amp;gt;         &lt;br /&gt;        &lt;br  ="&amp;lt;br" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;="&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;lt;" fields&amp;gt;="fields&amp;amp;gt;" /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='SWAreaPlan'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='2'&amp;gt;&amp;lt;field name='name' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='calcac' type='decimal' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='WanutStreetCorridorPlan'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='2'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='name' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='calcac' type='decimal' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;layer name='TownCenterAreaPlan'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;fields count='2'&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='name' type='string' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;field name='calcac' type='decimal' /&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/fields&amp;gt;         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/layer&amp;gt;         &lt;br /&gt;&amp;lt;/Layers&amp;gt;&lt;/p&gt;   &lt;/div&gt;    &lt;p&gt;Now, I know there are a ton of different ways to accomplish this. I initially used a brute force approach and generated the html by looping through the xml document and writing the individual lines of html. I wanted to use Linq, so I started looking around to see how it can be done. &lt;/p&gt;    &lt;p&gt;Nothing matched up very well because of the “real” data is stored as attributes instead of elements. But with some trial and error, I came up with the following Linq statement to produce what I wanted:&lt;/p&gt;    &lt;div style="font-family: Verdana; color: blue;"&gt;     &lt;p&gt;private string XmlToHtml(string value)        &lt;br /&gt;{         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; XElement layersXml = XElement.Parse(value); &lt;/p&gt;      &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; XElement html =        &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; new XElement(&amp;quot;div&amp;quot;, new XElement(&amp;quot;div&amp;quot;, new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;info&amp;quot;), &amp;quot;This request has returned field information for &amp;quot;, layersXml.Attribute(&amp;quot;count&amp;quot;).Value, &amp;quot; layer tables.&amp;quot;),         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; from layer in layersXml.Descendants(&amp;quot;layer&amp;quot;)         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; select new XElement(&amp;quot;div&amp;quot;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;layerinfo&amp;quot;),         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new XElement(&amp;quot;h3&amp;quot;, new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;layername&amp;quot;), (string)layer.Attribute(&amp;quot;name&amp;quot;)),         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new XElement(&amp;quot;div&amp;quot;, new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;fields&amp;quot;),         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; from field in layer.Elements(&amp;quot;fields&amp;quot;).Descendants(&amp;quot;field&amp;quot;)         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; select new XElement(&amp;quot;div&amp;quot;,         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new XElement(&amp;quot;span&amp;quot;, new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;fnametxt&amp;quot;), &amp;quot;Field Name: &amp;quot;),         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new XElement(&amp;quot;span&amp;quot;, new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;fieldname&amp;quot;),(string)field.Attribute(&amp;quot;name&amp;quot;)),         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new XElement(&amp;quot;span&amp;quot;, new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;typetxt&amp;quot;), &amp;quot;Type: &amp;quot;),         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; new XElement(&amp;quot;span&amp;quot;, new XAttribute(&amp;quot;class&amp;quot;, &amp;quot;typename&amp;quot;), (string)field.Attribute(&amp;quot;type&amp;quot;))))         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; )         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; );         &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; return html.ToString(); &lt;/p&gt;      &lt;p&gt;} &lt;/p&gt;   &lt;/div&gt;    &lt;p&gt;This is not the most elegant code as you still need to know a lot about the structure and names contained in the xml. It really is kind of cool the way you can tie the code together though.&lt;/p&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-5603286002808401558?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/5603286002808401558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=5603286002808401558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/5603286002808401558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/5603286002808401558'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2009/02/xml-to-html-using-linq.html' title='Xml to Html Using LINQ'/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_wutfZ1gKB2Q/SZHy5-hkHnI/AAAAAAAAABw/WsSJ_uT5gFA/s72-c/goal_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-3159021562454815645</id><published>2009-02-06T09:09:00.003-05:00</published><updated>2009-02-06T09:42:02.262-05:00</updated><title type='text'>VS2008 Choose Items Error</title><content type='html'>&lt;p&gt;I’ve just sent several hours chasing down this problem. My attempts where focused on the error code 0xe0434f4d. I chased down the recommendations to no avail.&lt;/p&gt;&lt;p&gt;Then I went after “choose items” and discovered the blog entry at &lt;a href="http://andreascode.blogspot.com/2008/12/vs2008-crash-on-choose-items-in-toolbox.html"&gt;http://andreascode.blogspot.com/2008/12/vs2008-crash-on-choose-items-in-toolbox.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Following Andreas’ instructions solved my problems. Thanks Andreas!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-3159021562454815645?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/3159021562454815645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=3159021562454815645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/3159021562454815645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/3159021562454815645'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2009/02/vs2008-choose-items-error.html' title='VS2008 Choose Items Error'/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-8689833602890609248</id><published>2009-02-05T09:21:00.001-05:00</published><updated>2009-02-05T09:21:55.052-05:00</updated><title type='text'>Rethinking</title><content type='html'>&lt;p&gt;After spending 2 years in the .net windows application world, the economy has caught with me. I’m now leaning back to the web world and GIS mapping systems. &lt;/p&gt;  &lt;p&gt;My efforts are going to be targeted at using the asp.net MVC environment to develop my applications.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-8689833602890609248?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/8689833602890609248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=8689833602890609248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/8689833602890609248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/8689833602890609248'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2009/02/rethinking.html' title='Rethinking'/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-1771371384957699471</id><published>2008-03-12T10:22:00.002-04:00</published><updated>2008-03-12T10:49:00.953-04:00</updated><title type='text'>Wish List</title><content type='html'>&lt;span style="font-style: italic; font-weight: bold;"&gt;Here are my top 5 things to do:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Ability to control who can&lt;/li&gt;&lt;ul&gt;&lt;li&gt;add, move, drop, and edit widgets&lt;/li&gt;&lt;li&gt;add new pages&lt;/li&gt;&lt;li&gt;edit Titles (both on widgets and pages)&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Be able to Delete a Page&lt;/li&gt;&lt;li&gt;Apply portal page set up to a user group instead of a specific user&lt;/li&gt;&lt;li&gt;Manage relationships between users and user groups&lt;/li&gt;&lt;li&gt;Be able to "Publish" portal setup to a user group.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;I've solved the first item. More on that in a future blog.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-1771371384957699471?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/1771371384957699471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=1771371384957699471' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/1771371384957699471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/1771371384957699471'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2008/03/wish-list.html' title='Wish List'/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2620691101637964354.post-7350323623932743059</id><published>2008-03-11T19:59:00.000-04:00</published><updated>2008-03-11T21:03:32.532-04:00</updated><title type='text'>Beginning Web Portal Development...</title><content type='html'>I've kicked around the idea of Web Portal development for the past 5 years. In the early days, I used DotNetNuke (DNN) to deploy an interesting portal that allow selected users to add and manage content on the portal. The guests that access the web site see what the administrators want them to see.&lt;br /&gt;&lt;br /&gt;DNN has continually evolved over the years and upgrading to new releases can be extremely difficult. I haven't touched the site for at least 3 years because it ain't broke, so why screw with it? Lately, I've had some thoughts about what can be done with it, but I don't have the enthusiasm to muddle through everything it would take to make DNN do what I want.&lt;br /&gt;&lt;br /&gt;I recently picked up, and started reading Omar AL Zabir's book, 'Building a Web 2.0 Portal with ASP.NET 3.5'. &lt;span style="display: block;" id="formatbar_Buttons"&gt;&lt;span class="on" style="display: block;" id="formatbar_Add_Image" title="Add Image" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="addImage();" onmousedown="CheckFormatting(event);;ButtonMouseDown(this);"&gt;&lt;img src="http://www.oreilly.com/catalog/covers/9780596510503_cat.gif" alt="Add Image" border="0" /&gt;  &lt;/span&gt;&lt;/span&gt;There is some pretty cool stuff going on with Omar's Web Portal. Some of it I like, and some of it I don't really agree with. But that depends on what you want to accomplish with the Web Portal. I'm looking for something that will be easy to turn over to special administrators that will put the content together in a meaningful way, while the ultimate consumer of the site sees what they are supposed to see.&lt;br /&gt;&lt;br /&gt;Omar's version allows things like adding widgets (content), dragging and dropping them around on the page, changing settings, removing widgets, adding pages (tabs), and other neat things. I see this as a really cool feature for the admin's to do their job, but I'm not sold on turning it loose to the general user.  It works great for the population that Omar's addressing, but my thoughts are for a different group of users.&lt;br /&gt;&lt;br /&gt;I'm not looking for the Portal to be the spot where everyone wants to start their day with. I am looking to accomplish providing a site that can be managed easily and provide a meaningful experience to both types of users.&lt;br /&gt;&lt;br /&gt;So, with all that said, what am I looking to do and what am I looking to do it with?&lt;br /&gt;&lt;br /&gt;As I said, the features Omar describes look like the things I'd like to provide to my admin's. I just don't want to give the end user the same privileges. So I'm going to use the things described in Omar's book and make some changes to them to meet my needs of allowing for different permissions to different users. I also have another agenda, and that is to start using the new technologies of Linq and WorkFlow.&lt;br /&gt;&lt;br /&gt;This effort  is going to result in  a series of posts that will follow what I'm attempting to do.&lt;br /&gt;&lt;br /&gt;I hope you'll stay tuned and I welcome your comments.&lt;br /&gt;&lt;br /&gt;Otherwise it'll be a way for me to document what the hell I've done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2620691101637964354-7350323623932743059?l=rksthoughts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rksthoughts.blogspot.com/feeds/7350323623932743059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2620691101637964354&amp;postID=7350323623932743059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/7350323623932743059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2620691101637964354/posts/default/7350323623932743059'/><link rel='alternate' type='text/html' href='http://rksthoughts.blogspot.com/2008/03/beginning-web-portal-development.html' title='Beginning Web Portal Development...'/><author><name>Rick</name><uri>http://www.blogger.com/profile/14158744824945885403</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='23' src='http://bp0.blogger.com/_wutfZ1gKB2Q/R9cwknfBatI/AAAAAAAAAAU/Lu5HG33dWQA/S220/MeInNYC.jpg'/></author><thr:total>0</thr:total></entry></feed>
