Question
Suppose I have the following xml file which is mapped to edge table format: where source column represents the source node, the target column represents
Suppose I have the following xml file which is mapped to edge table format:
where source column represents the source node,
the target column represents the destination of the tree-edge (or destination node)
the ordinal column represents the order of the target node among its siblings,
the tag column node represents the label of the target node,
the flag column indicates the node-type: leaf or non-leaf,
and the value column indicates the nodes textual contents.
Q: how to convert the following table (which is in FoxPro table format) into XML file. The XML tree has to match the columns of the table.
Please provide steps and code.
Edge Relation Example ordinal 1 *13 target &1 &2 1 1 Edge Table tag flag H7 ref PATIENT ref PID ref OBX IDNum string PaNa string DTofi ref &3 2 &O source HL7 &0 &1 &1 PATIENT 1 &2 &2 PID OBX &2 &3 &4 &3 &3 QueNum Pana DTofi &3 &5 &6 &7 PATID1234 "Jones Wm" date &8 1961-06-13 ref &4 85 1 NM 2 3 86 &7 Value Table Node 85 86 Value PATID1234 Jones William Storing XML 16
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started