Discuss how XML can be transferred into a database.

What will be an ideal response?

There are four general approaches to storing an XML document in a relational database:
? store the XML as the value of some attribute within a tuple;
? store the XML in a shredded form across a number of attributes and relations;
? store the XML in a schema independent form;
? store the XML in a parsed form; that is, convert the XML to internal format, such as an
Infoset or PSVI representation, and store this representation.
These approaches are not necessarily mutually exclusive. For example, it would be possible to
store some of the shredded XML as attributes in one relation while leaving some nodes intact
and stored as the value of some attribute in either the same or separate relation.

Computer Science & Information Technology

You might also like to view...

When a disk is formatted, it is impossible to recover the data that was on the disk.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The StringBuilder methods _____________ not only change the contents of a string buffer, but also returns a reference to the string buffer.

a. delete b. append c. insert d. reverse e. replace

Computer Science & Information Technology