[R] Urgent Help - Editing XML through R

Chidambaram Selvakumar chidambaramselvakumar at gmail.com
Sat Nov 8 07:10:31 CET 2014


Hi Team,

I have the below xml file where i have to find and remove all the email
address in <string> tag and need to append the new email address using R
script.May be string tag needs to be added or decreased based on the email
list.

*XM File *

<?xml version="1.0" encoding="utf-8"?>
<as:Job xmlns:as="urn:tibco:spotfire.dxp.automation">
  <as:Tasks>
    <OpenAnalysisFromLibrary
xmlns="urn:tibco:spotfire.dxp.automation.tasks">
      <as:Title>Open Analysis from Library</as:Title>
      <AnalysisPath>/Z- Archive - TO BE
purged/ConditionEmailTest</AnalysisPath>
    </OpenAnalysisFromLibrary>
    <SendEmail xmlns="urn:tibco:spotfire.dxp.automation.tasks">
      <as:Title>Send Email</as:Title>
      <Recipients>
       * <string>chidambaramselvakumar at gmail.com
<chidambaramselvakumar at gmail.com></string>*
* <string>chidambaramselvakumar at gmail.com
<chidambaramselvakumar at gmail.com></string>*
      </Recipients>
      <Subject>Sales Report</Subject>
      <Message>Hi,

Good Day!

Thanks for achieving your sales target.

Regards,
Chidambaram</Message>
      <Links />
      <Attachments />
    </SendEmail>
  </as:Tasks>
</as:Job>

Kindly help me. It is little urgent.

Thanks in advance for your effort and support.

Regards,
Chidambaram

	[[alternative HTML version deleted]]



More information about the R-help mailing list