Using DSS Website, possible to import multiple schedules in single XML file?

Using Datascope Select I need to import multiple schedules. I'd like to do this in using a single XML file using multiple <schedule> tags. Is this possible?

Example of what I am trying to do here:

<?xml version='1.0'?>
<ReportRequest xmlns='http:" target="_blank">www.reuters.com/Datascope/ReportRequest.xsd'>;

<Schedule>
<ScheduleAction>Replace</ScheduleAction>
<Name>FC201208</Name>
<TickHistorySchedule>
<InputList>
<Name>FC201208</Name>
<Type>Instrument</Type>
</InputList>
<ReportTemplate>
<Name>FC201208</Name>
<Type>TickHistoryTimeAndSales</Type>
</ReportTemplate>
<OutputFileName>FC201208</OutputFileName>
<ScheduleTimezone>Eastern Standard Time</ScheduleTimezone>
<ScheduleImmediate></ScheduleImmediate>
</TickHistorySchedule>
</Schedule>

<Schedule>
<ScheduleAction>Replace</ScheduleAction>
<Name>FC201209</Name>
<TickHistorySchedule>
<InputList>
<Name>FC201209</Name>
<Type>Instrument</Type>
</InputList>
<ReportTemplate>
<Name>FC201209</Name>
<Type>TickHistoryTimeAndSales</Type>
</ReportTemplate>
<OutputFileName>FC201209</OutputFileName>
<ScheduleTimezone>Eastern Standard Time</ScheduleTimezone>
<ScheduleImmediate></ScheduleImmediate>
</TickHistorySchedule>
</Schedule>

</ReportRequest>

Best Answer

  • Jake DeSantis, as far as I know it is not possible to import several schedules using one file.

    To test that I just tried it manually, using your example, but it failed on the 2nd schedule, with error:

    Errors - 1
    There are multiple root elements. Line 21, position 2.

    PS: I removed the last tag which has no start.

Answers

  • Thanks Christiaan. In my code snippet I somehow errantly excluded that tag, but your note that it is not possible to import several schedules in one XML file answers my question.