<?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:blogger='http://schemas.google.com/blogger/2008' 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-633634392679079127</id><updated>2024-09-15T03:31:05.440+02:00</updated><category term="3.0"/><category term="actionscript"/><category term="xml"/><category term="attribute"/><category term="parent"/><category term="xmllist"/><category term="FMS"/><category term="Flash Media Server"/><category term="Flex"/><category term="Remote"/><category term="SharedObject"/><category term="adding"/><category term="children"/><category term="delete"/><category term="descendant"/><category term="element"/><category term="new"/><category term="node"/><category term="rails"/><category term="rails 3.0"/><category term="ruby"/><category term="text"/><title type='text'>I have a dream... Increase my knowledge</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-7526937305156874708</id><published>2010-02-24T14:32:00.000+01:00</published><updated>2010-02-24T14:33:47.230+01:00</updated><title type='text'>Different presentation about Rails 3</title><content type='html'>Crazy SlideShow!!

&lt;div class=&quot;prezi-player&quot;&gt;&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;.prezi-player { width: 550px; } .prezi-player-links { text-align: center; }&lt;/style&gt;&lt;object id=&quot;prezi_uh2i4v1wdigr&quot; name=&quot;prezi_uh2i4v1wdigr&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;550&quot; height=&quot;400&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://prezi.com/bin/preziloader.swf&quot;/&gt;&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;/&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#ffffff&quot;/&gt;&lt;param name=&quot;flashvars&quot; value=&quot;prezi_id=uh2i4v1wdigr&amp;amp;lock_to_path=1&amp;amp;color=ffffff&amp;amp;autoplay=no&quot;/&gt;&lt;embed id=&quot;preziEmbed_uh2i4v1wdigr&quot; name=&quot;preziEmbed_uh2i4v1wdigr&quot; src=&quot;http://prezi.com/bin/preziloader.swf&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; allowscriptaccess=&quot;always&quot; width=&quot;550&quot; height=&quot;400&quot; bgcolor=&quot;#ffffff&quot; flashvars=&quot;prezi_id=uh2i4v1wdigr&amp;amp;lock_to_path=1&amp;amp;color=ffffff&amp;amp;autoplay=no&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class=&quot;prezi-player-links&quot;&gt;&lt;p&gt;&lt;a title=&quot;A mini presentation summarizing what will be Rails 3 and we we&#39;ll want to be there &quot; href=&quot;http://prezi.com/uh2i4v1wdigr/rails-3/&quot;&gt;Rails 3&lt;/a&gt; on &lt;a href=&quot;http://prezi.com&quot;&gt;Prezi&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/7526937305156874708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/7526937305156874708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/7526937305156874708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/7526937305156874708'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2010/02/different-presentation-about-rails-3.html' title='Different presentation about Rails 3'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-268684294113421704</id><published>2010-02-18T22:15:00.002+01:00</published><updated>2010-02-18T22:18:59.341+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="rails"/><category scheme="http://www.blogger.com/atom/ns#" term="rails 3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>Waiting Ruby on Rails 3.0!</title><content type='html'>Some new features:

&lt;img style=&quot;visibility:hidden;width:0px;height:0px;&quot; border=0 width=0 height=0 src=&quot;http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNjY1MjczODIxMjcmcHQ9MTI2NjUyNzY1MDQ5MCZwPTEwMTkxJmQ9c3NfZW1iZWQmZz*yJm89ZDNmOGYyM2FmN2M*/NGE3MzgzM2YwOWJiZWQ5OWQwY2Ymb2Y9MA==.gif&quot; /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_3009317&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/kuahyeow/rails-3-cool-new-things&quot; title=&quot;Rails 3 : Cool New Things&quot;&gt;Rails 3 : Cool New Things&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails3newthings-100127180934-phpapp02&amp;stripped_title=rails-3-cool-new-things&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=rails3newthings-100127180934-phpapp02&amp;stripped_title=rails-3-cool-new-things&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View more &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/&quot;&gt;presentations&lt;/a&gt; from &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/kuahyeow&quot;&gt;Y. Thong Kuah&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/268684294113421704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/268684294113421704' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/268684294113421704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/268684294113421704'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2010/02/waiting-ruby-on-rails-30.html' title='Waiting Ruby on Rails 3.0!'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-5929601072017957425</id><published>2008-01-22T11:41:00.000+01:00</published><updated>2008-01-22T12:08:10.372+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Flash Media Server"/><category scheme="http://www.blogger.com/atom/ns#" term="Flex"/><category scheme="http://www.blogger.com/atom/ns#" term="FMS"/><category scheme="http://www.blogger.com/atom/ns#" term="Remote"/><category scheme="http://www.blogger.com/atom/ns#" term="SharedObject"/><title type='text'>Remote SharedObject Flash/Flex/FMS</title><content type='html'>&lt;h2&gt;Create Remote Shared Object on Flash Media Server 2&lt;/h2&gt;
&lt;div class=&quot;code&quot;&gt;
  application.onAppStart = function(){&lt;br /&gt;
  trace(&quot;start&quot;);&lt;br /&gt;
  // Create the shared object to store client objects (users)&lt;br /&gt;
  this.users_so = SharedObject.get(&quot;users_so&quot;, false);&lt;br /&gt;
&lt;/div&gt;
&lt;h2&gt;Subscribe Remote Shared Object on client&lt;/h2&gt;
&lt;div class=&quot;code&quot;&gt;
  //Returns a reference to an object that can be stored on a server&lt;br /&gt;         
  users_so = SharedObject.getRemote(&quot;users_so&quot;, nc.uri, false);                                             &lt;br /&gt;  
  users_so.addEventListener(SyncEvent.SYNC, usersSync);                                 &lt;br /&gt;
  users_so.addEventListener(NetStatusEvent.NET_STATUS, onSOnetStatus);   //Old &#39;onStatus()&#39;&lt;br /&gt;                                            
  users_so.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSOSecurityError);&lt;br /&gt;
  //SharedObject has a property &#39;client&#39; that defines obj on which will invoked remote methods&lt;br /&gt;
  users_so.client = this;&lt;br /&gt;
  users_so.connect(nc);&lt;br /&gt;
&lt;/div&gt;
&lt;h2&gt;Send a function (on client)&lt;/h2&gt;
&lt;div class=&quot;code&quot;&gt;
  public function sendMsg( color:String, msg:String ):void{&lt;br /&gt;    
  var outmsg:String = &quot;Hello World!!&quot;;&lt;br /&gt;            
  //Broadcasts a message to all clients connected to the specified remote shared object&lt;br /&gt;
  chat_so.send(&quot;onMsgSend&quot;, outmsg);&lt;br /&gt;
  }
&lt;/div&gt;
&lt;h2&gt;Execute a function (on client) earlier sended&lt;/h2&gt;
&lt;div class=&quot;code&quot;&gt;
public function onMsgSend( msg:String ):void{&lt;br /&gt;
  trace(&quot;onMsgSend: &quot; + msg);&lt;br /&gt;
  chatHistory += msg;&lt;br /&gt;        
  dispatchEvent(new Event(&quot;histChange&quot;));&lt;br /&gt;
  }&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/5929601072017957425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/5929601072017957425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/5929601072017957425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/5929601072017957425'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2008/01/remote-sharedobject-flashflexfms-2.html' title='Remote SharedObject Flash/Flex/FMS'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-4473871270827561175</id><published>2008-01-09T14:52:00.000+01:00</published><updated>2008-01-09T15:45:08.443+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="adding"/><category scheme="http://www.blogger.com/atom/ns#" term="attribute"/><category scheme="http://www.blogger.com/atom/ns#" term="delete"/><category scheme="http://www.blogger.com/atom/ns#" term="element"/><category scheme="http://www.blogger.com/atom/ns#" term="new"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><category scheme="http://www.blogger.com/atom/ns#" term="xmllist"/><title type='text'>ActionScript 3.0 - Manage Xml ObjPart 4</title><content type='html'>&lt;h2 style=&quot;font-weight:bold;&quot;&gt;Adding new Attributes and Elements&lt;/h2&gt;
&lt;div class=&quot;code&quot;&gt;
var novel:XML = &amp;lt;BOOK ISBN=&quot;0141182806&amp;gt;&lt;br /&gt;
&amp;lt;TITLE&amp;gt;Ulysses&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
&amp;lt;AUTHOR&amp;gt;Joyce, James&amp;lt;/AUTHOR&amp;gt;&lt;br /&gt;
&amp;lt;PUBLISHER&amp;gt;Hi Books&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;DESCRIPTION&amp;gt;A &amp;lt;B&amp;gt;very&amp;lt;/B&amp;gt; thick book.&amp;lt;/DESCRIPTION&amp;gt;&lt;br /&gt;
&amp;lt;/BOOK&amp;gt;;
&lt;/div&gt;
&lt;h3 style=&quot;font-weight:bold;&quot;&gt;Modify existing element or attribute&lt;/h3&gt;
&lt;div class=&quot;code&quot;&gt;
novel.TITLE = &quot;Last Ulysses&quot;&lt;br /&gt;
novel.@ISBN = &quot;015687982928&quot;;
&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Result:&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;comment&quot;&gt;
&amp;lt;BOOK ISBN=&quot;&lt;b&gt;015687982928&lt;/b&gt;&amp;gt;&lt;br /&gt;
&amp;lt;TITLE&amp;gt;&lt;b&gt;Last Ulysses&lt;/b&gt;&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
&amp;lt;AUTHOR&amp;gt;Joyce, James&amp;lt;/AUTHOR&amp;gt;&lt;br /&gt;
&amp;lt;PUBLISHER&amp;gt;Hi Books&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;DESCRIPTION&amp;gt;A &amp;lt;B&amp;gt;very&amp;lt;/B&amp;gt; thick book.&amp;lt;/DESCRIPTION&amp;gt;&lt;br /&gt;
&amp;lt;/BOOK&amp;gt;
&lt;/div&gt;
&lt;h3 style=&quot;font-weight:bold;&quot;&gt;Adding new elements&lt;/h3&gt;
&lt;div class=&quot;code&quot;&gt;
novel.SETTING.CITY = &quot;Rome&quot;&lt;br /&gt;
novel.SETTING.COUNTRY = &quot;Italy&quot;;
&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Result:&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;comment&quot;&gt;
&amp;lt;BOOK ISBN=&quot;015687982928&amp;gt;&lt;br /&gt;
&amp;lt;TITLE&amp;gt;Last Ulysses&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
&amp;lt;AUTHOR&amp;gt;Joyce, James&amp;lt;/AUTHOR&amp;gt;&lt;br /&gt;
&amp;lt;PUBLISHER&amp;gt;Hi Books&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;DESCRIPTION&amp;gt;A &amp;lt;B&amp;gt;very&amp;lt;/B&amp;gt; thick book.&amp;lt;/DESCRIPTION&amp;gt;&lt;br /&gt;
&lt;b&gt;&amp;lt;SETTING&amp;gt;&lt;br /&gt;
&amp;lt;CITY&amp;gt;Rome&amp;lt;/CITY&amp;gt;&lt;br /&gt;
&amp;lt;COUNTRY&amp;gt;Italy&amp;lt;/COUNTRY&amp;gt;&lt;br /&gt;
&amp;lt;/SETTING&amp;gt;&lt;br /&gt;&lt;/b&gt;
&amp;lt;/BOOK&amp;gt;&lt;br /&gt;
&lt;/div&gt;
&lt;h3 style=&quot;font-weight:bold;&quot;&gt;Adding new attributes&lt;/h3&gt;
&lt;div class=&quot;code&quot;&gt;
novel.SETTING.@CITY = &quot;Rome&quot;&lt;br /&gt;
novel.SETTING.@COUNTRY = &quot;Italy&quot;;
&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Result:&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;comment&quot;&gt;
&amp;lt;BOOK ISBN=&quot;015687982928&amp;gt;&lt;br /&gt;
&amp;lt;TITLE&amp;gt;Last Ulysses&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
&amp;lt;AUTHOR&amp;gt;Joyce, James&amp;lt;/AUTHOR&amp;gt;&lt;br /&gt;
&amp;lt;PUBLISHER&amp;gt;Hi Books&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;DESCRIPTION&amp;gt;A &amp;lt;B&amp;gt;very&amp;lt;/B&amp;gt; thick book.&amp;lt;/DESCRIPTION&amp;gt;&lt;br /&gt;
&lt;b&gt;&amp;lt;SETTING CITY=&quot;Rome&quot; COUNTRY=&quot;Italy&quot; /&amp;gt;&lt;/b&gt;&lt;br /&gt;
&amp;lt;/BOOK&amp;gt;&lt;br /&gt;
&lt;/div&gt;
&lt;h3 style=&quot;font-weight:bold;&quot;&gt;Adding new child after a specific existing child&lt;/h3&gt;
&lt;div class=&quot;code&quot;&gt;
novel.&lt;i&gt;insertChildAfter&lt;/i&gt;(novel.AUTHOR[0], &amp;lt;AUTHOR&amp;gt;Dave Luxtor&amp;lt;/AUTHOR&amp;gt;);
&lt;/div&gt;
&lt;h3 style=&quot;font-weight:bold;&quot;&gt;Adding new child before a specific existing child&lt;/h3&gt;
&lt;div class=&quot;code&quot;&gt;
novel.&lt;i&gt;insertChildBefore&lt;/i&gt;(novel.AUTHOR[0], &amp;lt;PRICE&amp;gt;30.00&amp;lt;/PRICE&amp;gt;);
&lt;/div&gt;
&lt;h3 style=&quot;font-weight:bold;&quot;&gt;Adding new child before all existing child&lt;/h3&gt;
&lt;div class=&quot;code&quot;&gt;
novel.&lt;i&gt;prependChild&lt;/i&gt;(&amp;lt;PAGECOUNT&amp;gt;340&amp;lt;/PAGECOUNT&amp;gt;);
&lt;/div&gt;
&lt;h3 style=&quot;font-weight:bold;&quot;&gt;Deleting Elements and Attributes&lt;/h3&gt;
&lt;span class=&quot;code&quot;&gt;delete novel.@ISBN;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Removes the ISBN attribute from the &amp;lt;BOOK&amp;gt; element.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;delete novel.TITLE;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Removes the &amp;lt;TITLE&amp;gt; element from the &amp;lt;BOOK&amp;gt; element.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;delete novel.*;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Removes the &amp;lt;TITLE&amp;gt;, &amp;lt;AUTHOR&amp;gt;, &amp;lt;PUBLISHER&amp;gt;, etc. elements from the &amp;lt;BOOK&amp;gt; element.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;delete novel.TITLE.*;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Removes the text content from the &amp;lt;TITLE&amp;gt; element.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;delete novel.@*;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Removes all attributes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/4473871270827561175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/4473871270827561175' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/4473871270827561175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/4473871270827561175'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2008/01/actionscript-30-manage-xml-obj-part-4.html' title='ActionScript 3.0 - Manage Xml Obj&lt;br /&gt;Part 4'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-472643516572384980</id><published>2008-01-09T09:52:00.000+01:00</published><updated>2008-01-09T14:52:14.353+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="attribute"/><category scheme="http://www.blogger.com/atom/ns#" term="descendant"/><category scheme="http://www.blogger.com/atom/ns#" term="parent"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><category scheme="http://www.blogger.com/atom/ns#" term="xmllist"/><title type='text'>ActionScript 3.0 - Manage Xml ObjPart 3</title><content type='html'>&lt;h2 style=&quot;font-weight:bold;&quot;&gt;Accessing descendants&lt;/h2&gt;
&lt;div class=&quot;code&quot;&gt;var xml:XML = &amp;lt;LOAN&amp;gt;&lt;br /&gt;
&amp;lt;BOOK ISBN=&quot;976568989&quot; DATE=&quot;1136091600000&quot;&amp;gt;&lt;br /&gt;
  &amp;lt;TITLE&amp;gt;Ulysses&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
  &amp;lt;AUTHOR&amp;gt;Joyce, James&amp;lt;/AUTHOR&amp;gt;&lt;br /&gt;
  &amp;lt;PUBLISHER&amp;gt;My Books&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;/BOOK&amp;gt;&lt;br /&gt;&lt;br /&gt;
&amp;lt;DVD ISBN=&quot;5432334456&quot; DATE=&quot;1136691000000&quot;&amp;gt;&lt;br /&gt;
  &amp;lt;TITLE&amp;gt;2001 A Space Odysses&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
  &amp;lt;DIRECTOR&amp;gt;Stanley Kubrick&amp;lt;/DIRECTOR&amp;gt;&lt;br /&gt;
  &amp;lt;PUBLISHER&amp;gt;Warner&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;/DVD&amp;gt;&lt;br /&gt;&lt;br /&gt;
&amp;lt;DVD ISBN=&quot;7878785566&quot; DATE=&quot;1136691000000&quot;&amp;gt;&lt;br /&gt;
  &amp;lt;TITLE&amp;gt;Toy Story&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
  &amp;lt;DIRECTOR&amp;gt;John Lasseter&amp;lt;/DIRECTOR&amp;gt;&lt;br /&gt;
  &amp;lt;PUBLISHER&amp;gt;Walt Disney&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;/DVD&amp;gt;&lt;br /&gt;
&amp;lt;/LOAN&amp;gt;&lt;/div&gt;
&lt;p&gt;&lt;i&gt;theElement..identifier&lt;/i&gt;
&lt;p&gt;A &lt;b&gt;descendant operator(..)&lt;/b&gt; returns a XMLList representing all descendants of &lt;i&gt;theElement&lt;/i&gt; whose name match &lt;i&gt;identifier&lt;/i&gt;.&lt;/p&gt;
i.e. &lt;span class=&quot;code&quot;&gt;xml..DIRECTOR&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Notice that the &amp;lt;DIRECTOR&amp;gt; elements are not direct children of the &amp;lt;LOAN&amp;gt; element; they are grandchildren.&lt;br /&gt;
Above expression yields an XMLList that has two &lt;b&gt;XML&lt;/b&gt; instances, representing the two &amp;lt;DIRECTOR&amp;gt; elements.
&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight:bold;&quot;&gt;Example&lt;/span&gt;
&lt;div class=&quot;code&quot;&gt;
for each(var title:XML in load..TITLE)&lt;br /&gt;
  trace(title);
&lt;/div&gt;
&lt;div class=&quot;comment&quot;&gt;
//Output&lt;br /&gt;
Ulysses&lt;br /&gt;
2001 A Space Odysses&lt;br /&gt;
Toy Story&lt;br /&gt;
&lt;/div&gt;
&lt;p&gt;&lt;i&gt;theElement..@attributeName&lt;/i&gt;
&lt;p&gt;A &lt;b&gt;descendant operator also works with attributes(..@)&lt;/b&gt; returns a XMLList representing all descendants attributes of &lt;i&gt;theElement&lt;/i&gt; whose name match &lt;i&gt;attributeName&lt;/i&gt;.&lt;/p&gt;
i.e. &lt;span class=&quot;code&quot;&gt;xml..@DUE&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;
Above expression yields an XMLList that has three &lt;b&gt;XML&lt;/b&gt; instances, representing the three DUE attributes.
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/472643516572384980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/472643516572384980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/472643516572384980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/472643516572384980'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2008/01/actionscript-30-manage-xml-obj-part-3.html' title='ActionScript 3.0 - Manage Xml Obj&lt;br /&gt;Part 3'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-114348251964302624</id><published>2008-01-08T12:50:00.000+01:00</published><updated>2008-01-09T09:57:12.657+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="attribute"/><category scheme="http://www.blogger.com/atom/ns#" term="parent"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><category scheme="http://www.blogger.com/atom/ns#" term="xmllist"/><title type='text'>ActionScript 3.0 - Manage Xml ObjPart 2</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;From the previous example&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;var pub:XML = novel.PUBLISHER[0];&lt;br /&gt;pub.parent();&lt;/div&gt;
&lt;span class=&quot;comment&quot;&gt;//Reference to &amp;lt;PUBLISHER&amp;gt;&#39;s parent (which is &amp;lt;BOOK&amp;gt;)&lt;/span&gt;
&lt;p&gt; If the &lt;i&gt;pub&lt;/i&gt; is a root node (not in this case) the &lt;i&gt;parent()&lt;/i&gt; method returns &lt;i&gt;null&lt;/i&gt;. (i.e. &lt;i&gt;novel.parent();)&lt;/i&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight:bold;&quot;&gt;Accessing Attributes&lt;/span&gt;
&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.attributes() &lt;i&gt;and&lt;/i&gt; novel.@*&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Returns an &lt;i&gt;XMLList&lt;/i&gt; representing &amp;lt;BOOK&amp;gt;&#39;s attributes (which is ISBN node)&lt;/span&gt;
&lt;br /&gt;
&lt;p&gt;Normally attributes are accessed by name, using either the &lt;i&gt;attribute()&lt;/i&gt; method&lt;br /&gt; 
&lt;span class=&quot;code&quot;&gt;&lt;i&gt;someElement&lt;/i&gt;.attribute(&quot;&lt;i&gt;attributeName&lt;/i&gt;&quot;)&lt;/span&gt;&lt;br /&gt;
or &lt;b&gt;E4X&#39;s more convenient variable-access syntax&lt;/b&gt;&lt;br /&gt; 
&lt;span class=&quot;code&quot;&gt;&lt;i&gt;someElement.@attributeName&lt;/i&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/114348251964302624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/114348251964302624' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/114348251964302624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/114348251964302624'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2008/01/actionscript-30-manage-xml-obj-part-2.html' title='ActionScript 3.0 - Manage Xml Obj&lt;br /&gt;Part 2'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-1835063351207625468</id><published>2008-01-07T16:58:00.000+01:00</published><updated>2008-01-09T14:52:33.433+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="actionscript"/><category scheme="http://www.blogger.com/atom/ns#" term="children"/><category scheme="http://www.blogger.com/atom/ns#" term="node"/><category scheme="http://www.blogger.com/atom/ns#" term="parent"/><category scheme="http://www.blogger.com/atom/ns#" term="text"/><category scheme="http://www.blogger.com/atom/ns#" term="xml"/><title type='text'>ActionScript 3.0 - Manage Xml ObjPart 1</title><content type='html'>&lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;Example:&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;code&quot;&gt;
var novel:XML = &amp;lt;BOOK ISBN=&quot;0141182806&amp;gt;&lt;br /&gt;
&amp;lt;TITLE&amp;gt;Ulysses&amp;lt;/TITLE&amp;gt;&lt;br /&gt;
&amp;lt;AUTHOR&amp;gt;Joyce, James&amp;lt;/AUTHOR&amp;gt;&lt;br /&gt;
&amp;lt;PUBLISHER&amp;gt;Hi Books&amp;lt;/PUBLISHER&amp;gt;&lt;br /&gt;
&amp;lt;DESCRIPTION&amp;gt;A &amp;lt;B&amp;gt;very&amp;lt;/B&amp;gt; thick book.&amp;lt;/DESCRIPTION&amp;gt;&lt;br /&gt;
&amp;lt;/BOOK&amp;gt;;
&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.children() &lt;i&gt;and&lt;/i&gt; novel.*&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Returns an XMLList representing &#39;s child nodes&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.children()[1]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Reference to &#39;s second child node&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.child(&quot;AUTHOR&quot;) &lt;i&gt;and&lt;/i&gt; novel.AUTHOR&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Returns all child elements of named &quot;AUTHOR&quot;&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.AUTHOR[0].setName(&quot;WRITER&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//Change name of the first child element named &quot;AUTHOR&quot;&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.TITLE.children()[0] &lt;i&gt;and&lt;/i&gt; novel.TITLE.*[0]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;comment&quot;&gt;//A reference to the &lt;b&gt;text node&lt;/b&gt; Ulysses and &lt;b&gt;not&lt;/b&gt; the string &quot;Ulysses&quot;&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.TITLE.*[0].parent()&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;//A reference to the &amp;lt;TITLE&amp;gt; element&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.TITLE.*[0].nodeKind()&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;//Returns the string &quot;text&quot;&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;novel.TITLE.*[0].toString()&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;//Returns the string &quot;Ulysses&quot;&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;The &amp;lt;DESCRIPTION&amp;gt; element contains both element and text child nodes:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;i&gt;A&lt;/i&gt; (text node);&lt;/li&gt;
  &lt;li&gt;&amp;lt;B&amp;gt;very&amp;lt;/B&amp;gt; (element node with a child text node);&lt;/li&gt;
  &lt;li&gt;&lt;i&gt;thick book.&lt;/i&gt; (text node);&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The &lt;i&gt;text()&lt;/i&gt; method can also used to retrieve the text nodes from an entire &lt;i&gt;XMLList&lt;/i&gt;, not just a single &lt;i&gt;XML&lt;/i&gt; element.
&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;trace(novel.DESCRIPTION.text()[0]);&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;//Display: A&lt;/span&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;span class=&quot;code&quot;&gt;trace(novel.DESCRIPTION.text()[1]);&lt;/span&gt;
&lt;span class=&quot;comment&quot;&gt;//Display: thick book&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/1835063351207625468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/1835063351207625468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/1835063351207625468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/1835063351207625468'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2008/01/actionscript-30-manage-xml-obj.html' title='ActionScript 3.0 - Manage Xml Obj&lt;br /&gt;Part 1'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-633634392679079127.post-4818336055488183466</id><published>2008-01-07T16:54:00.000+01:00</published><updated>2008-01-08T11:26:31.063+01:00</updated><title type='text'>Hello world!!</title><content type='html'>&lt;span style=&quot;font-weight: bold;font-size:85%;&quot; &gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;Hi! This&#39;s my first post!&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysmallknowledge.blogspot.com/feeds/4818336055488183466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/633634392679079127/4818336055488183466' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/4818336055488183466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/633634392679079127/posts/default/4818336055488183466'/><link rel='alternate' type='text/html' href='http://mysmallknowledge.blogspot.com/2008/01/hello-world.html' title='Hello world!!'/><author><name>Enrico</name><uri>http://www.blogger.com/profile/15195950947600107652</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>