The document describes an XML program that displays book information using a Document Type Definition (DTD). The XML file contains information on multiple books, including their titles, authors, editions, publications, ISBNs, and prices. It references an external CSS file for styling the display of the book information. A separate XML schema file (catalog.xsd) defines the structure and elements of the book data.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
86 views8 pages
Catalogue XML Program
The document describes an XML program that displays book information using a Document Type Definition (DTD). The XML file contains information on multiple books, including their titles, authors, editions, publications, ISBNs, and prices. It references an external CSS file for styling the display of the book information. A separate XML schema file (catalog.xsd) defines the structure and elements of the book data.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8
JAGANS COLLEGE OF ENGINEERING & TECHNOLOGY,
NELLORE
EXP. NAME:DISPLAY BOOK INFORMATION USING XML
Aim:-Write an XML program to display book information using DOCUMENT TYPE DEFINITION Catalogdemo.xml <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="library.css"?> <catalog xmlns:xsi="http://www.w3.org/2001/xmlschemainstance" xsi:noNamespaceSchemaLocation="catalog.xsd"> <Book> <Title>xmlbible</Title> <Author>winston</Author> <Edition>6th</Edition> <Publication>wiely</Publication> <isbn>0-7659-4652-7</isbn> <Price>$40.5</Price> </Book> <Book> <Title>artificialintelegence</Title> <Author>s.ruseel</Author> <Edition>6th</Edition> <Publication>princeston</Publication> <isbn>0-7659-4652-7</isbn> <Price>$45.5</Price> 30