<?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: How to sorting by using  the content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234216#M187346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am able to sole this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks lyamamot for your time and suggestion to resolve this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chandra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2009 02:03:38 GMT</pubDate>
    <dc:creator>creddy2001</dc:creator>
    <dc:date>2009-07-20T02:03:38Z</dc:date>
    <item>
      <title>How to sorting by using  the content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234213#M187343</link>
      <description>How to sor the XML documents by using the content. This is my sample XML file. In this xml there is an event_date. I want to sort all the documents by event_date using web scripts . Please help me out in resolving this isse. I am also giving my Java script and response template.&amp;nbsp; &amp;lt;?xml version="1</description>
      <pubDate>Fri, 17 Jul 2009 22:19:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234213#M187343</guid>
      <dc:creator>creddy2001</dc:creator>
      <dc:date>2009-07-17T22:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to sorting by using  the content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234214#M187344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you can guarantee that the folder's children all have the 'text/xml' mimetype, you may be able to use Freemarker's "sort_by" built-in for sequences. In your FTL, where you have "&amp;lt;#list folder.children as document&amp;gt;", try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#list folder.children?sort_by['xmlNodeModel', 'upcoming_event', 'event_date'] as document&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Note that this assumes that the property "xmlNodeModel" exists on each child so as I said, if your child is not of type "text/xml" then this won't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise, I would just do the sorting in the JS and pass an already-sorted array to FreeMarker.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2009 16:05:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234214#M187344</guid>
      <dc:creator>lyamamot</dc:creator>
      <dc:date>2009-07-18T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to sorting by using  the content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234215#M187345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help lyamamot &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you&amp;nbsp; said Its working&amp;nbsp; if all&amp;nbsp; are XML docments in that folder.&amp;nbsp; please&amp;nbsp; can you give me the example to sort in JS. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to sort in JS by verfying some examples, Its not throwing any error but not sorting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chandra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jul 2009 00:43:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234215#M187345</guid>
      <dc:creator>creddy2001</dc:creator>
      <dc:date>2009-07-19T00:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to sorting by using  the content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234216#M187346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am able to sole this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks lyamamot for your time and suggestion to resolve this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chandra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2009 02:03:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-sorting-by-using-the-content/m-p/234216#M187346</guid>
      <dc:creator>creddy2001</dc:creator>
      <dc:date>2009-07-20T02:03:38Z</dc:date>
    </item>
  </channel>
</rss>

