/    Sign up×
Community /Pin to ProfileBookmark

Script help for sharing data between documents in a Sharepoint portal?

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!

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @a1ineinthesand spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...