Professional Documents
Culture Documents
1
XML Database and XML RSS
XML Database
XML Database Defined
XML Database is software capable of storing large amounts of data and
information in the XML format.
Some examples of XML Database
a. BaseX f. Sedna
b. Berkeley DB g. IBM DB2
XML Edition (pureXML)
c. eXist h. Microsoft SQL
d. MarkLogic Server
Server i. Oracle Database
e. Qizx j. PostgreSQL
The data stored in the database can be queried using XQuery, serialized, and
exported into desired format.
XQuery is a query and functional programming language that queries and
transforms collections of structured and unstructured data, usually in the
form of XML, text and with vendor-specific extensions for other data formats.
Course Module
a. XML- Enabled Database
XML enabled database is the extension provided for the conversion of XML
document. This is relational database, where data are stored in tables
consisting of rows and columns. The tables contain set of records, which in
turn consist of fields.
XML enabled database is best suited where the majority of data are non-XML.
b. Native XML Database
Native XML database is based on the container rather than table format. It
can store large amount of XML document and data. Native XML database is
queried by the XPath-expressions.
Example of XML database
Below is an example of XML database.
<?xml version="1.0"?>
<album>
<song1>
<title>Your Song</title>
<genre>Rock</genre>
<composer>Danny Tan</composer>
</song1>
<song2>
<title>My Heart</title>
<genre>Pop</genre>
<composer>Mel White</composer>
</song2>
</album>
Figure 1: XML Database Example
In figure 1, table album is created that holds the records song1 and song2,
which in turn consists of three entities – title, genre and composer.
XML RSS
XML RSS stands for Really Simple Syndication/Rich Site Summary. It is
possible to distribute up-to-date web content from one web site to thousands
of other web sites around the world.
XML RSS Features
The following are features of RSS XML
• RSS allows you to syndicate your site content
• RSS defines an easy way to share and view headlines and content
• RSS files can be automatically updated
• RSS allows personalized views for different sites
• RSS is written in XML
WebApp: XML-based Web Application
3
XML Database and XML RSS
<channel>
<title>Online Tutorials</title>
<link>https://www.tutorial.com</link>
<description>Online Education</description>
<item>
<title>Java Programming</title>
<link>https://www.tutorials.com/java </link>
<description>Java Programming Tutorial</description>
</item>
<item>
<title>HTML Tutorial</title>
<link>https://www.tutorial.com/html</link>
<description>HTML Tutorial</description>
</item>
</channel>
</rss>
Figure 2: XML RSS Example
Course Module
With RSS you can choose to view the news you want, the news that interest
you and are relevant to your work.
b. Remove unwanted information
With RSS you can separate wanted information from unwanted information
c. Increase your site traffic
With RSS you can create your own news channel, and publish it to the
Internet
Glossary
Native XML database: This is based on the container rather than table
format. It can store large amount of XML document and data. Native XML
database is queried by the XPath-expressions.
XML Enabled database: This is the extension provided for the conversion of
XML document.
Course Module