<?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>Relax Breath of Solution. &#187; XML</title>
	<atom:link href="http://www.beasrilankan.com/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.beasrilankan.com</link>
	<description>Just I wanted.. Do you?...</description>
	<lastBuildDate>Wed, 14 Dec 2011 17:52:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Displaying dynamically loaded XML in a DataGrid control in Flex &#8211; QName</title>
		<link>http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/</link>
		<comments>http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 03:00:12 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[load()]]></category>
		<category><![CDATA[QName()]]></category>
		<category><![CDATA[URLRequest()]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XMLListCollection()]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=731</guid>
		<description><![CDATA[<h4>Incoming search terms:</h4><ul><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagrid displaying xml in flex">datagrid displaying xml in flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex xml qname qn">flex xml qname qn</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname datagrid">flex qname datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname change">flex qname change</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex progressbar datagrid">flex progressbar datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex 4 import xml datagrid">flex 4 import xml datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex">displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="Displaying dynamically loaded XML in a DataGrid control in Flex">Displaying dynamically loaded XML in a DataGrid control in Flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagridcolumn datafield dynamic flex">datagridcolumn datafield dynamic flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="namespace xml datagrid control flex 4">namespace xml datagrid control flex 4</a> (1)</li></ul></p> <a href='http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<pre class="brush: as3; title: ; notranslate">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application   name=&quot;DataGrid_XML_test&quot;
          xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
          xmlns:net=&quot;flash.net.*&quot;
          layout=&quot;vertical&quot;
          verticalAlign=&quot;middle&quot;
          backgroundColor=&quot;white&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.events.ListEvent;
            import mx.controls.dataGridClasses.DataGridColumn;

                public namespace sitemapNS = &quot;http://www.google.com/schemas/sitemap/0.84&quot;;

              private function loadXML(targetURL:String):void {
                urlLdr.load(new URLRequest(targetURL));
                loadBtn.enabled   = false;
            }

            private function urlLdr_complete(evt:Event):void {
                  var xmlData:XML = new XML(URLLoader(evt.currentTarget).data);
                  xmlListColl = new XMLListCollection(xmlData.children());
                dataGrid.enabled = true;
                  loadBtn.enabled = true;
              }

            private function dataGrid_labelFunc(item:XML, col:DataGridColumn):String {
                var   qN:QName = new QName(sitemapNS, col.dataField);
                return item[qN].text();
            }

              private function dataGrid_dateLabelFunc(item:XML, col:DataGridColumn):String {
                var qN:QName = new QName(sitemapNS, col.dataField);
                var value:String = item[qN].text();
                value = value.replace(/-/g, &quot;/&quot;);
                  value = value.replace(&quot;T&quot;,   &quot; &quot;);
                value = value.replace(&quot;+00:00&quot;,   &quot;&quot;);
                  return value;
            }

            private function dataGrid_itemDoubleClick(evt:ListEvent):void   {
                use namespace sitemapNS;
                var url:String = evt.itemRenderer.data.loc;
                navigateToURL(new URLRequest(url), &quot;_blank&quot;);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

      &lt;net:URLLoader   id=&quot;urlLdr&quot;
            complete=&quot;urlLdr_complete(event);&quot; /&gt;
    &lt;mx:XMLListCollection id=&quot;xmlListColl&quot; /&gt;

    &lt;mx:ApplicationControlBar dock=&quot;true&quot;&gt;
        &lt;mx:Button id=&quot;loadBtn&quot;
                label=&quot;Load XML&quot;
                click=&quot;loadXML('http://www.beasrilankan.com/sitemap.xml');&quot;   /&gt;
        &lt;mx:Spacer   width=&quot;100%&quot; /&gt;
          &lt;mx:ProgressBar id=&quot;progressBar&quot;
                    mode=&quot;event&quot;
                source=&quot;{urlLdr}&quot;
                labelPlacement=&quot;center&quot; /&gt;
    &lt;/mx:ApplicationControlBar&gt;

    &lt;mx:DataGrid   id=&quot;dataGrid&quot;
              dataProvider=&quot;{xmlListColl}&quot;
            doubleClickEnabled=&quot;true&quot;
              itemDoubleClick=&quot;dataGrid_itemDoubleClick(event);&quot;
              enabled=&quot;false&quot;
              width=&quot;100%&quot;
              height=&quot;100%&quot;&gt;
            &lt;mx:columns&gt;
            &lt;mx:DataGridColumn   dataField=&quot;loc&quot;
                    labelFunction=&quot;dataGrid_labelFunc&quot;
                      itemRenderer=&quot;mx.controls.Label&quot;   /&gt;
            &lt;mx:DataGridColumn   dataField=&quot;lastmod&quot;
                    labelFunction=&quot;dataGrid_dateLabelFunc&quot;
                      width=&quot;150&quot; /&gt;
            &lt;mx:DataGridColumn dataField=&quot;changefreq&quot;
                    labelFunction=&quot;dataGrid_labelFunc&quot;
                    width=&quot;100&quot; /&gt;
              &lt;mx:DataGridColumn   dataField=&quot;priority&quot;
                    labelFunction=&quot;dataGrid_labelFunc&quot;
                    width=&quot;100&quot; /&gt;
        &lt;/mx:columns&gt;
    &lt;/mx:DataGrid&gt;

&lt;/mx:Application&gt;
</pre>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagrid displaying xml in flex">datagrid displaying xml in flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex xml qname qn">flex xml qname qn</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname datagrid">flex qname datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex qname change">flex qname change</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex progressbar datagrid">flex progressbar datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="flex 4 import xml datagrid">flex 4 import xml datagrid</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex">displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="Displaying dynamically loaded XML in a DataGrid control in Flex">Displaying dynamically loaded XML in a DataGrid control in Flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="datagridcolumn datafield dynamic flex">datagridcolumn datafield dynamic flex</a> (1)</li><li><a href="http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/" title="namespace xml datagrid control flex 4">namespace xml datagrid control flex 4</a> (1)</li></ul></p> <a href='http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/09/displaying-dynamically-loaded-xml-in-a-datagrid-control-in-flex-qname/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build a Drag-and-Drop XML Image Viewer &#8211; DragManager</title>
		<link>http://www.beasrilankan.com/2010/05/build-a-drag-and-drop-xml-image-viewer-dragmanager/</link>
		<comments>http://www.beasrilankan.com/2010/05/build-a-drag-and-drop-xml-image-viewer-dragmanager/#comments</comments>
		<pubDate>Sun, 02 May 2010 07:08:02 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Action Script 3.0]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[Flex XML]]></category>
		<category><![CDATA[currentTarget]]></category>
		<category><![CDATA[Drag-and-Drop]]></category>
		<category><![CDATA[dragDrop]]></category>
		<category><![CDATA[dragEnter]]></category>
		<category><![CDATA[DragManager.acceptDragDrop()]]></category>
		<category><![CDATA[DragManager.doDrag()]]></category>
		<category><![CDATA[Image()]]></category>
		<category><![CDATA[mx:HTTPService]]></category>
		<category><![CDATA[mx:Repeater]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=669</guid>
		<description><![CDATA[<p>All of the informations about the images showcased in the gallery are stored in an XML file. Create   an xml file   that follows this structure and save it as datas.xml in the src directory :</p> <a href='http://www.beasrilankan.com/2010/05/build-a-drag-and-drop-xml-image-viewer-dragmanager/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<p>All of the informations about the images showcased in the gallery are stored in an XML file. Create   an xml file   that follows this structure and save it as datas.xml in the src directory :</p> <a href='http://www.beasrilankan.com/2010/05/build-a-drag-and-drop-xml-image-viewer-dragmanager/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/05/build-a-drag-and-drop-xml-image-viewer-dragmanager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intro to E4X &#8211; data manipulation with flex &#8211; xml</title>
		<link>http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/</link>
		<comments>http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/#comments</comments>
		<pubDate>Sun, 02 May 2010 06:44:35 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[E4X]]></category>
		<category><![CDATA[load()]]></category>
		<category><![CDATA[URLLoader()]]></category>
		<category><![CDATA[URLRequest()]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=665</guid>
		<description><![CDATA[<p>Up until now working with XML data in Flash   hasn&#8217;t been very intuitive.   That was mainly due to the semantics of the ActionScript Language. But,   with the birth of AS3 we have new hope in E4X. For those that don&#8217;t know E4X stands for ECMAScript for XML and this specification introduces some new functionality that makes working with XML a lot simpler. New to AS3 are the XML, XMLList,QSpace   and Namespace E4X classes. E4X not only makes life simpler but provides greater code consistency and familiarity   (we can use dot syntax more similiar to ActionScript).</p> <a href='http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Up until now working with XML data in Flash   hasn&#8217;t been very intuitive.   That was mainly due to the semantics of the ActionScript Language. But,   with the birth of AS3 we have new hope in E4X. For those that don&#8217;t know E4X stands for ECMAScript for XML and this specification introduces some new functionality that makes working with XML a lot simpler. New to AS3 are the XML, XMLList,QSpace   and Namespace E4X classes. E4X not only makes life simpler but provides greater code consistency and familiarity   (we can use dot syntax more similiar to ActionScript).</p> <a href='http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/05/intro-to-e4x-data-manipulation-with-flex-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a simple image gallery with the Flex TileList control &#8211; mx:TileList</title>
		<link>http://www.beasrilankan.com/2010/02/creating-a-simple-image-gallery-with-the-flex-tilelist-control-mxtilelist/</link>
		<comments>http://www.beasrilankan.com/2010/02/creating-a-simple-image-gallery-with-the-flex-tilelist-control-mxtilelist/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 08:54:03 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Flex 3 Action Script 3 Tutorial]]></category>
		<category><![CDATA[mx:Fade]]></category>
		<category><![CDATA[mx:Parallel]]></category>
		<category><![CDATA[mx:Style]]></category>
		<category><![CDATA[mx:TileList]]></category>
		<category><![CDATA[mx:WipeDown]]></category>
		<category><![CDATA[mx:XML]]></category>
		<category><![CDATA[mx:XMLListCollection]]></category>
		<category><![CDATA[mx:Zoom]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=608</guid>
		<description><![CDATA[<p>Flex Photo gallery in Flex using the TileList control, Image control, and the PopUpManager class.</p> <a href='http://www.beasrilankan.com/2010/02/creating-a-simple-image-gallery-with-the-flex-tilelist-control-mxtilelist/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Flex Photo gallery in Flex using the TileList control, Image control, and the PopUpManager class.</p> <a href='http://www.beasrilankan.com/2010/02/creating-a-simple-image-gallery-with-the-flex-tilelist-control-mxtilelist/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/02/creating-a-simple-image-gallery-with-the-flex-tilelist-control-mxtilelist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File Uploads with PHP and Flex</title>
		<link>http://www.beasrilankan.com/2010/02/file-uploads-with-php-and-flex/</link>
		<comments>http://www.beasrilankan.com/2010/02/file-uploads-with-php-and-flex/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 16:06:53 +0000</pubDate>
		<dc:creator>Sameera Thilakasiri</dc:creator>
				<category><![CDATA[Action Script 3.0]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[File Upload]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.beasrilankan.com/?p=589</guid>
		<description><![CDATA[<p><strong>Structure</strong></p> <a href='http://www.beasrilankan.com/2010/02/file-uploads-with-php-and-flex/' rel="nofollow">Read More &raquo;</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Structure</strong></p> <a href='http://www.beasrilankan.com/2010/02/file-uploads-with-php-and-flex/' rel="nofollow">Read More &raquo;</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.beasrilankan.com/2010/02/file-uploads-with-php-and-flex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

