Get XML Document Data syntax

Unanswered Question
Aug 6th, 2007
User Badges:

Hi All,


I'm building an application (IPCCx 4.0.4) that will page an on-call technician based on a calender listed in an xml file. I'm an xml newbie, and I'm having trouble figuring out how to configure the "Get XML Document Data" step. How do I list a string variable in the path? For example:


"/descendant::Calender/child::day/child::date"


Where "day" is a string variable that gets incremented, such as day1, day2, etc. I want to loop through the dayx children and compare the date entry with today's date. Once todaysDate=date, I will stop the loop and return the amTech and pmTech to the application.


Here's a snippet of the XML schedule file:

<Calender>

- <day1>

<date>7/30/2007</date>

<amTech>Smith</amTech>

<pmTech>Jones</pmTech>

</day1>

- <day2>

<date>7/31/2007</date>

<amTech>Smith</amTech>

<pmTech>Jones</pmTech>

</day2>


Thanks, Randy

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion