Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

Students also viewed these Databases questions

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago