<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hi,  I am trying to retrieve Column Name-Value Pairs from a CDT and th</title><link>https://community.appian.com/discussions/f/general/2895/hi-i-am-trying-to-retrieve-column-name-value-pairs-from-a-cdt-and-th</link><description>Hi, I am trying to retrieve Column Name-Value Pairs from a CDT and this CDT is an o/p of a stored procedure and is a Ref cursor. For eg (using same example in stored proc documentation): [title=Peppa Pig: Fun at the Fair, author=Collectif, quantity=23</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi,&lt;br /&gt;&lt;br /&gt;I am trying to retrieve Column Name-Value Pairs from a CDT and th</title><link>https://community.appian.com/thread/10129?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2014 03:31:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e43fbf1-a03f-44b3-beef-56b51da3f822</guid><dc:creator>anagha_abhyankar</dc:creator><description>No, I know I can fetch the values, I am looking for something like this as an o/p :&lt;br /&gt;[name=title, value={Peppa Pig: Fun at the Fair;Panda Goes to the Olympics}], [name=author, value={Collectif;Judith Simanovsky}], [name=quantity, value={23;7}], [name=price, value={3.74;4.99}] similar to Name-Value pairs.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi,&lt;br /&gt;&lt;br /&gt;I am trying to retrieve Column Name-Value Pairs from a CDT and th</title><link>https://community.appian.com/thread/10128?ContentTypeID=1</link><pubDate>Thu, 19 Jun 2014 03:11:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83cf890d-8814-4d52-a5c3-3cef5f49b747</guid><dc:creator>Rick Bivin</dc:creator><description>You can use the &amp;quot;dot&amp;quot; notation to retrieve the titles. So, cdtName.title will return: Peppa Pig: Fun at the Fair, Panda Goes to the Olympics. &lt;br /&gt;&lt;br /&gt;If you are looking to display these values in a grid, you can use index(cdtName, &amp;quot;title&amp;quot;, {})  -- this way, if there are no values to return, it returns &amp;quot;{}&amp;quot; or null.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>