0% found this document useful (0 votes)
8 views3 pages

Experiment 9

Uploaded by

sonitraj8458
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Experiment 9

Uploaded by

sonitraj8458
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Rahul Gupta

124102062
CS-B-04
Experiment 9

Books.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library SYSTEM "books.dtd">
<?xml-stylesheet type="text/xsl" href="books.xsl"?>
<library xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="books.xsd">
<book>
<title>Advanced Mathematics Guide</title>
<author>R.D. Sharma</author>
<isbn>9789352837515</isbn>
<publisher>Dhanpat Rai Publications</publisher>
<edition>2022</edition>
<price>650.00</price>
</book>
<book>
<title>Fundamentals of Physics Volume 1</title>
<author>H.C. Verma</author>
<isbn>9788177091878</isbn>
<publisher>Bharati Bhawan</publisher>
<edition>2020</edition>
<price>480.00</price>
</book>
<book>
<title>Challenging Physics Problems</title>
<author>I.E. Irodov</author>
<isbn>9789351414892</isbn>
<publisher>Arihant Publications</publisher>
<edition>Revised</edition>
<price>395.00</price>
</book>
<book>
<title>Organic Chemistry Essentials</title>
<author>M.S. Chauhan</author>
<isbn>9789313191958</isbn>
<publisher>Balaji Publications</publisher>
<edition>2021</edition>
<price>540.00</price>
</book>
<book>
<title>Mastering Mathematics</title>
<author>Nitesh Jain</author>
<isbn>9788194898502</isbn>
<publisher>Balaji Publications</publisher>
<edition>1st</edition>
<price>720.00</price>
</book>
</library>

Books.dtd

<!ELEMENT library (book+)>


<!ELEMENT book (title, author, isbn, publisher, edition, price)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT isbn (#PCDATA)>
<!ELEMENT publisher (#PCDATA)>
<!ELEMENT edition (#PCDATA)>
<!ELEMENT price (#PCDATA)>

Books.xsd

<?xml version="1.0" encoding="UTF-8"?>


<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="library">
<xs:complexType>
<xs:sequence>
<xs:element name="book" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="title" type="xs:string"/>
<xs:element name="author" type="xs:string"/>
<xs:element name="isbn" type="xs:string"/>
<xs:element name="publisher" type="xs:string"/>
<xs:element name="edition" type="xs:string"/>
<xs:element name="price" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:schema>

You might also like