[Stackoverflow] [Progress OpenEdge ABL] While processing XML, how to insert a node after a specific node?

Status
Not open for further replies.
S

SJaka

Guest
Consider the following XML document that I receive and parse:

Code:
<Courses>
  <Course>
    <Name>Intro to DB</Name>
    <Credits>3.0</Credits>
  </Course>
  <Course>
    <Name>Intro to Programming</Name>
    <Credits>3.0</Credits>
  </Course>
</Courses>

If I want to add a new course between two courses or a new element within each course (e.g. courseId). How can I achieve this in Progress? I've given a read to Progress' XML documentation (for DOM and SAX) and have not found any reference.

Is there an equivalent of XmlNode.InsertAfter() that one can find in C#? Do I have to use temp-table/ ProDataSets to achieve this?

Continue reading...
 
Status
Not open for further replies.
Top