My supervisor has called upon me to write a script that will take acronyms and their corresponding definitions from one .xml file in our Sharepoint portal and feed them into a two-column table in another .xml file. The acronyms and definitions are clearly delineated by tags according to the S1000D standard, like so:
<acronym>
<acronymTerm>VoIP</acronymTerm>
<acronymDefinition>Voice over Internet Protocol</acronymDefinition>
</acronym>
The corresponding table entry would be tagged as follows:
<row>
<entry>
<para>VoIP </para>
</entry>
<entry>
<para> Voice over Internet Protocol</para>
</entry>
</row>
I’m new to Javascript, and I’ve been combing tutorials all day for a way to aggregate data from one document into another document. So far, all I can think to do is turn the tagsets into arrays, but appropriate commands/functions elude me. Any and all guidance would be greatly appreciated!