<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Comparing Node References in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/comparing-node-references/m-p/266069#M219199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I knew I was comparing different datatypes, which is why I used toString() on both node references, however this did not work. I used String() on just the array type and now it works fine!&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;, even though the output is now different when comparing the two. Wierd but it works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Mike for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2011 13:15:11 GMT</pubDate>
    <dc:creator>cedorfm</dc:creator>
    <dc:date>2011-05-18T13:15:11Z</dc:date>
    <item>
      <title>Comparing Node References</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/comparing-node-references/m-p/266067#M219197</link>
      <description>Hello,I'm comparing two node references (children[x] and childByNamePath) using the equality operator. When I print the two node references they are an exact match.&amp;nbsp;&amp;nbsp;&amp;nbsp;for (var i = 0; i &amp;lt; container.children.length; i++)&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (container.children[0] == nodeEnglish)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nodeContent</description>
      <pubDate>Tue, 17 May 2011 20:05:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/comparing-node-references/m-p/266067#M219197</guid>
      <dc:creator>cedorfm</dc:creator>
      <dc:date>2011-05-17T20:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Node References</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/comparing-node-references/m-p/266068#M219198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure you're comparing two strings and not two different types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use either String(…) or …toString()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 06:18:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/comparing-node-references/m-p/266068#M219198</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2011-05-18T06:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Node References</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/comparing-node-references/m-p/266069#M219199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I knew I was comparing different datatypes, which is why I used toString() on both node references, however this did not work. I used String() on just the array type and now it works fine!&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;, even though the output is now different when comparing the two. Wierd but it works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Mike for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 13:15:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/comparing-node-references/m-p/266069#M219199</guid>
      <dc:creator>cedorfm</dc:creator>
      <dc:date>2011-05-18T13:15:11Z</dc:date>
    </item>
  </channel>
</rss>

