<?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: Coldfusion XML to Struct</title>
	<atom:link href="http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/</link>
	<description>Anuj @ ColdFusion, Flex and some more....</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:31:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3427</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 13 Sep 2009 21:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3427</guid>
		<description>Hi Anuj,

Hope your weekend is going well.  Still look like you might have time to work on this today?</description>
		<content:encoded><![CDATA[<p>Hi Anuj,</p>
<p>Hope your weekend is going well.  Still look like you might have time to work on this today?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3426</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 11 Sep 2009 20:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3426</guid>
		<description>Hi Anuj,

I spent the entire day trying to make the change.  I put displays in all over the place and still can&#039;t quite follow the logic.  

If you&#039;re able to make the change this weekend, I&#039;d greatly appreciate your help.</description>
		<content:encoded><![CDATA[<p>Hi Anuj,</p>
<p>I spent the entire day trying to make the change.  I put displays in all over the place and still can&#8217;t quite follow the logic.  </p>
<p>If you&#8217;re able to make the change this weekend, I&#8217;d greatly appreciate your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj Gakhar</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3425</link>
		<dc:creator>Anuj Gakhar</dc:creator>
		<pubDate>Fri, 11 Sep 2009 07:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3425</guid>
		<description>Hi Dave, Sorry I have just got back online. I am afraid I wont have any time before the weekend. But it should be a pretty simple change to do and you can give it a shot and try doing it yourself meanwhile. Otherwise I will have a look during the weekend sometime.</description>
		<content:encoded><![CDATA[<p>Hi Dave, Sorry I have just got back online. I am afraid I wont have any time before the weekend. But it should be a pretty simple change to do and you can give it a shot and try doing it yourself meanwhile. Otherwise I will have a look during the weekend sometime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3424</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 10 Sep 2009 21:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3424</guid>
		<description>Hi Anuj,

I hate to ask because I know that you&#039;re doing me a favor, but is there any chance you might be able to make the modification to the code today?  If it doesn&#039;t look like you&#039;ll be able to get to it, I&#039;ll have to figure something else out.  My project needs to be done by the morning.  Just thought I would ask to see if you might have time.

Thanks!

Dave</description>
		<content:encoded><![CDATA[<p>Hi Anuj,</p>
<p>I hate to ask because I know that you&#8217;re doing me a favor, but is there any chance you might be able to make the modification to the code today?  If it doesn&#8217;t look like you&#8217;ll be able to get to it, I&#8217;ll have to figure something else out.  My project needs to be done by the morning.  Just thought I would ask to see if you might have time.</p>
<p>Thanks!</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3423</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 09 Sep 2009 14:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3423</guid>
		<description>Anuj,

Thanks, I appreciate it.  Your code will solve a problem on a project I&#039;m working on. Really appreciate your sharing your work.</description>
		<content:encoded><![CDATA[<p>Anuj,</p>
<p>Thanks, I appreciate it.  Your code will solve a problem on a project I&#8217;m working on. Really appreciate your sharing your work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj Gakhar</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3422</link>
		<dc:creator>Anuj Gakhar</dc:creator>
		<pubDate>Tue, 08 Sep 2009 18:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3422</guid>
		<description>Hi Dave, That should be easy to change. I will have a look and get back. Give me a couple of days though.</description>
		<content:encoded><![CDATA[<p>Hi Dave, That should be easy to change. I will have a look and get back. Give me a couple of days though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3421</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 08 Sep 2009 17:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3421</guid>
		<description>Hi Anuj,

Brad posted this awhile back:

&quot;Hello Anuj,

Thanks for the awesome .cfc!

I have a quick question. Suppose you have an array inside a struct which only has one element. By default it appears that your function will turn that array into a struct within a struct. Is it possible to force it to make an array within a struct, even though that array has only one element?&quot;


I have run into the same need.  The inconsistency caused by it creating an array within a stuct followed by a struct within a struct makes it hard to use the output.  Any chance you can modify this to always create an array within a struct even though the stuct may only have 1 element?</description>
		<content:encoded><![CDATA[<p>Hi Anuj,</p>
<p>Brad posted this awhile back:</p>
<p>&#8220;Hello Anuj,</p>
<p>Thanks for the awesome .cfc!</p>
<p>I have a quick question. Suppose you have an array inside a struct which only has one element. By default it appears that your function will turn that array into a struct within a struct. Is it possible to force it to make an array within a struct, even though that array has only one element?&#8221;</p>
<p>I have run into the same need.  The inconsistency caused by it creating an array within a stuct followed by a struct within a struct makes it hard to use the output.  Any chance you can modify this to always create an array within a struct even though the stuct may only have 1 element?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Basco</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3390</link>
		<dc:creator>James Basco</dc:creator>
		<pubDate>Fri, 10 Jul 2009 15:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3390</guid>
		<description>Thanks for the great code!

Works perfect for a quick way to consume an XML webservice then turn around and return a JSON object.</description>
		<content:encoded><![CDATA[<p>Thanks for the great code!</p>
<p>Works perfect for a quick way to consume an XML webservice then turn around and return a JSON object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Severance</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3320</link>
		<dc:creator>Brad Severance</dc:creator>
		<pubDate>Wed, 22 Apr 2009 17:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3320</guid>
		<description>oops, looked liked it deleted the code; bout

-books-
 -arelement-This is an array-/arelement-
-/books

(replace - with )</description>
		<content:encoded><![CDATA[<p>oops, looked liked it deleted the code; bout</p>
<p>-books-<br />
 -arelement-This is an array-/arelement-<br />
-/books</p>
<p>(replace &#8211; with )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Severance</title>
		<link>http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/comment-page-2/#comment-3319</link>
		<dc:creator>Brad Severance</dc:creator>
		<pubDate>Wed, 22 Apr 2009 17:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2007/11/05/coldfusion-xml-to-struct/#comment-3319</guid>
		<description>Thanks Anuj!  I&#039;m not smart enough to figure it out, but I was thinking that somehow how you could program it so that if you use a preset node name, that it would automatically make it an array.  For example,


 this will be an array


So, if someone uses &quot;arelement&quot; (or something similar), then the function would process that as an array.

This is just a thought.

Thanks again!!

brad</description>
		<content:encoded><![CDATA[<p>Thanks Anuj!  I&#8217;m not smart enough to figure it out, but I was thinking that somehow how you could program it so that if you use a preset node name, that it would automatically make it an array.  For example,</p>
<p> this will be an array</p>
<p>So, if someone uses &#8220;arelement&#8221; (or something similar), then the function would process that as an array.</p>
<p>This is just a thought.</p>
<p>Thanks again!!</p>
<p>brad</p>
]]></content:encoded>
	</item>
</channel>
</rss>
