XML and relational databases are tightly woven together in most Web applications. Describe the two distinctly different models XML and relational databases use to structure data.

What will be an ideal response?


The two use distinctly different models to structure data. The relational model used by relational databases is based on two-dimensional tables, which have no hierarchy and no significant order. By contrast, XML is based on hierarchical trees in which order is significant. In the relational model, neither hierarchy nor sequence may be used to model information. In XML, hierarchy and sequence are the main methods used to represent information. This is one of the more fundamental differences between the two models, but there are more.

On Web pages, XML is very useful because the structure of XML closely matches the structure used to display the same information in HTML. Both HTML and XML use tags in similar ways, often creating distinctly hierarchical structures to present data to users. Most of the data for Web pages comes from relational databases and it must be converted to appropriate XML hierarchies for use in Web pages. For these reasons, it makes more sense to see XML as a tool that works in conjunction with databases, rather than as a competitor to them. Major databases support easy-to-use integration with XML.

Computer Science & Information Technology

You might also like to view...

The statement for registering a listener for processing list view item change is ___________.

a. lv.getItems().addListener(e -> {processStatements}); b. lv.addListener(e -> {processStatements}); c. lv.getSelectionModel().selectedItemProperty().addListener(e -> {processStatements}); d. lv.getSelectionModel().addListener(e -> {processStatements});

Computer Science & Information Technology

_____ involves testing the complete, integrated system (hardware, software, databases, people, and procedures) to validate that an information system meets all specified requirements.

A. Integration testing B. System testing C. Volume testing D. User acceptance testing

Computer Science & Information Technology

To delete a building block the document must be ________

A) read only B) open C) previewed D) closed

Computer Science & Information Technology

Explain what the function of a WWAN network is in the context of the transmission limitations of Wi-Fi.

What will be an ideal response?

Computer Science & Information Technology