<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Randy Johnson&apos;s Coldfusion Blog - BlueDragon</title>
			<link>http://www.cfedge.com/index.cfm</link>
			<description>Randy Johnson&apos;s Coldfusion Blog</description>
			<language>en-us</language>
			<pubDate>Sat, 31 Jul 2010 14:32:22-0400</pubDate>
			<lastBuildDate>Mon, 12 May 2008 11:40:00-0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>randy@ewebpc.com</managingEditor>
			<webMaster>randy@ewebpc.com</webMaster>
			
			
			
			
			
			<item>
				<title>Quick Note: XmlAttributes</title>
				<link>http://www.cfedge.com/index.cfm/2008/5/12/Quick-Note-XmlAttributes</link>
				<description>
				
				I have to use xml fairly often.  Mostly for connecting to different web services. I haven&apos;t dealt with to many web services that return attributes within the XML like this:

&lt;code&gt;
&lt;day d=&quot;0&quot; t=&quot;Monday&quot; dt=&quot;May 12&quot;&gt;
      &lt;hi&gt;73&lt;/hi&gt;
      &lt;low&gt;52&lt;/low&gt;
      &lt;sunr&gt;6:17 AM&lt;/sunr&gt;
      &lt;suns&gt;8:08 PM&lt;/suns&gt;
      &lt;part p=&quot;d&quot;&gt;
        &lt;icon&gt;30&lt;/icon&gt;
        &lt;t&gt;Partly Cloudy&lt;/t&gt;
        &lt;wind&gt;
          &lt;s&gt;17&lt;/s&gt;
          &lt;gust&gt;N/A&lt;/gust&gt;
          &lt;d&gt;291&lt;/d&gt;
          &lt;t&gt;WNW&lt;/t&gt;
        &lt;/wind&gt;
        &lt;bt&gt;P Cloudy&lt;/bt&gt;
        &lt;ppcp&gt;10&lt;/ppcp&gt;
        &lt;hmid&gt;39&lt;/hmid&gt;
      &lt;/part&gt;
      &lt;part p=&quot;n&quot;&gt;
        &lt;icon&gt;31&lt;/icon&gt;
        &lt;t&gt;Clear&lt;/t&gt;
        &lt;wind&gt;
          &lt;s&gt;16&lt;/s&gt;
          &lt;gust&gt;N/A&lt;/gust&gt;
          &lt;d&gt;337&lt;/d&gt;
          &lt;t&gt;NNW&lt;/t&gt;
        &lt;/wind&gt;
        &lt;bt&gt;Clear&lt;/bt&gt;
        &lt;ppcp&gt;10&lt;/ppcp&gt;
        &lt;hmid&gt;61&lt;/hmid&gt;
      &lt;/part&gt;
    &lt;/day&gt;

&lt;/code&gt;

I seem to always forget how to access the attributes. The attributes in above example are d=&quot;0&quot; t=&quot;Monday&quot; dt = &quot;May 12&quot; as well as p=&quot;d&quot; and p = &quot;n&quot;.

I have decided to blog about it so I remember next time.

To access the above attributes use XmlAttributes.
If the variable containing the above XML was called XMLVar then you would use the following code to access the attributes:

&lt;code&gt;
Day of Week: #XMLVar.day.XmlAttributes.t#
Date: #XMLVar.d.XmlAttributes.dt#
&lt;/code&gt;

Nothing to it really.
				
				</description>
						
				
				<category>BlueDragon</category>				
				
				<category>Coldfusion</category>				
				
				<pubDate>Mon, 12 May 2008 11:40:00-0400</pubDate>
				<guid>http://www.cfedge.com/index.cfm/2008/5/12/Quick-Note-XmlAttributes</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Want to see Coldfusion Support for the Google App Engine?</title>
				<link>http://www.cfedge.com/index.cfm/2008/4/11/Want-to-see-Coldfusion-Support-for-the-Google-App-Engine</link>
				<description>
				
				I think it would be great if the Google App Engine supported CFML.  

If you feel the same show your support by visiting the link below and give it a star and a comment.

&lt;a href=&quot;http://code.google.com/p/googleappengine/issues/detail?id=73&quot;&gt;http://code.google.com/p/googleappengine/issues/detail?id=73&lt;/a&gt;
				
				</description>
						
				
				<category>BlueDragon</category>				
				
				<category>Coldfusion</category>				
				
				<pubDate>Fri, 11 Apr 2008 23:24:00-0400</pubDate>
				<guid>http://www.cfedge.com/index.cfm/2008/4/11/Want-to-see-Coldfusion-Support-for-the-Google-App-Engine</guid>
				
			</item>
			
		 	
			</channel></rss>