Library markup language, Computer Engineering

Assignment Help:

1. Design a DTD for a new XML application called Library Markup Language (LibML) appropriate to capture the list of your items of collection. Put the DTD into a file named library.dtd.

2. Create an XML document my_library.libml that can be validated against library.dtd. You have to supply details as regard to the information of the items in your library document.

3. Design an XML schema for LibML. Put the schema into a document called library.xsd. The schema should contain at least what is specified in library.dtd. Use the facilities available in XML Schema to make the definition of LibML better than the DTD version. However, you must ensure that the documents created in (2) are still valid for the XML schema, without needing to make any changes except the references to the DTD. Discuss the differences between your XML schema and your DTD.

4. Create XSLT style-sheets as required below:

a) Create an XSLT style-sheet cat_list.xsl to extract a list of the items (and their corresponding call numbers) from a LibML document. The result should be plain text. The list should be ordered in alphabetical order by the item's names or titles. Each item should be in the following format:: Note: we state in the above that "the result should be plain text". It means that the raw output should be in plain text, not that it looks like plain text in a browser. Many students in the past have made the mistake of using browsers to execute their code, and mistakenly believe that the outputs are correct by looking at a browser window, when in fact the output are actually in HTML. Test your XSLT stylesheet using my_library.libml from (2).

b) Create an XSLT style-sheet match_xml.xsl to extract the details of all items whose name titles contain some keyword or your choice (for example, if you have a book library, you might like to use the keyword, "XML") from a LibML document. The style and content of the output should be in plain text similar to that of question 4(a). Test your XSLT style-sheet using my_library.libml from (2).

c) Create an XSLT style-sheet libml2xhtml.xsl to convert the information in a LibML document such as my_library.libml from (2) into XHTML. The resulting XHTML documents should be well presented in a web browser although the actual design of the XHTML page is up to you.


Related Discussions:- Library markup language

Kirchoff''s laws, i want to make an assignment about kirchoff''s law

i want to make an assignment about kirchoff''s law

Distinguish between e-mode and depletion mode mosfet, Distinguish between e...

Distinguish between enhancement mode and depletion mode metal oxide semiconductor field effect transistors giving their characteristics. Ans. Enhancement mode and depleti

Show the internet protocols, A communication protocol is an agreement which...

A communication protocol is an agreement which specifies a common language two computers use to exchange messages. For instance, a protocol specifies exact format and meaning of ev

Show the two ways in which warnings can be suppressed in php, Show the two ...

Show the two ways in which Warnings can be suppressed in PHP? 1) Stop an individual function call from producing an error message put the @ warning suppression Operator front o

What are the major components of a web browser, What are the major componen...

What are the major components of a web browser? A browser contains a set of clients, a controller and a set of interpreters which manages them. All browsers must have an HTML

What do you mean by shared memory, Q. What do you mean by Shared Memory? ...

Q. What do you mean by Shared Memory? In shared memory scheme more focus is on controlling parallelism instead of data parallelism. In this model numerous processes run indepen

What do you mean by memory mapped i/o, What do you mean by memory mapped I/...

What do you mean by memory mapped I/O? In Memory mapped I/O, there is no particular input or output instructions. The CPU can manipulate I/O data residing in interface register

Subprogram, create a stored procedure to debit a bank account user must ent...

create a stored procedure to debit a bank account user must enter account no. and amount to debited from account .the minimum balance in account should be 500. if the debited amoun

Predicates in propositional model, Predicates in propositional model: ...

Predicates in propositional model: The predicates take a number of arguments in which for now we assume are ground terms and represent a relationship between those arguments t

The job allocation register, Signify this problem by means of: i.    An Ent...

Signify this problem by means of: i.    An Entity Relationship model; ii.    Relational tables. Pete's Programmers is a firm which supplies part time staff on contract to organisat

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd