<?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 Need javascript sample code for XML parsing in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/need-javascript-sample-code-for-xml-parsing/m-p/88323#M26547</link>
    <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Hello all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;My goal is to write, by using the share javascript console, a javascript file that can be fired by a share folder rule. When fired the javascript program would retrieve some information within a XML&amp;nbsp; Writing a folder rule is not a problem for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am just struggling to find a very basic XML parsing &amp;nbsp;javascript sample code that is applicable to my environment&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;and that I could study, play with and use as good starting point for my needs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I found that excellent link but could not find what I need:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-hub/javascript-api-cookbook/ba-p/293260#toc-hId--450891453" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-hub/javascript-api-cookbook/ba-p/293260#toc-hId--450891453&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Any explanation , sample code&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;or link would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Any book recommandation about that matter would be also appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;PS: I run a dockerized Alfresco:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;Alfresco Share v6.1.0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;(rfc7f986e4267e4e4d9c7572b73ab200a6a578c93-b6, Aikau 1.0.101.16, Spring Surf 6.1.0, Spring WebScripts 6.20, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-20141223)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;&lt;SPAN class="s2"&gt;Alfresco Community v6.1.2&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;(r589dc49b-b205) schema 13001&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Best regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Jean-Pierre.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2019 08:13:32 GMT</pubDate>
    <dc:creator>jpbuttet</dc:creator>
    <dc:date>2019-12-11T08:13:32Z</dc:date>
    <item>
      <title>Need javascript sample code for XML parsing</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/need-javascript-sample-code-for-xml-parsing/m-p/88323#M26547</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Hello all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;My goal is to write, by using the share javascript console, a javascript file that can be fired by a share folder rule. When fired the javascript program would retrieve some information within a XML&amp;nbsp; Writing a folder rule is not a problem for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I am just struggling to find a very basic XML parsing &amp;nbsp;javascript sample code that is applicable to my environment&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;and that I could study, play with and use as good starting point for my needs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I found that excellent link but could not find what I need:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-hub/javascript-api-cookbook/ba-p/293260#toc-hId--450891453" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-hub/javascript-api-cookbook/ba-p/293260#toc-hId--450891453&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Any explanation , sample code&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;or link would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Any book recommandation about that matter would be also appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;PS: I run a dockerized Alfresco:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;Alfresco Share v6.1.0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;(rfc7f986e4267e4e4d9c7572b73ab200a6a578c93-b6, Aikau 1.0.101.16, Spring Surf 6.1.0, Spring WebScripts 6.20, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-20141223)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;&lt;SPAN class="s2"&gt;Alfresco Community v6.1.2&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;(r589dc49b-b205) schema 13001&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thank you in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Best regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Jean-Pierre.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 08:13:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/need-javascript-sample-code-for-xml-parsing/m-p/88323#M26547</guid>
      <dc:creator>jpbuttet</dc:creator>
      <dc:date>2019-12-11T08:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need javascript sample code for XML parsing</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/need-javascript-sample-code-for-xml-parsing/m-p/88324#M26548</link>
      <description>&lt;P&gt;Not sure about how complex your XML would be but, may be look at these links. With simple javascript it is able to parse an xml. I haven't tried them in Javascript console though.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.w3schools.com/xml/xml_parser.asp" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.w3schools.com/xml/xml_parser.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/17604071/parse-xml-using-javascript" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/17604071/parse-xml-using-javascript&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jun 2020 17:04:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/need-javascript-sample-code-for-xml-parsing/m-p/88324#M26548</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-06-18T17:04:39Z</dc:date>
    </item>
  </channel>
</rss>

