Labs and Homework

profileDiana_05
Lab_Hw10.pdf

Lab and Homework 10 4/14/2021 due by 4/21/2021

Lab10: The following is a given XML code <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="lab10.xsl"?> <bookstore>

<book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book category="web"> <title lang="en">XQuery Kick Start</title> <author>James McGovern</author> <author>Per Bothner</author> <author>Kurt Cagle</author> <author>James Linn</author> <author>Vaidyanathan Nagarajan</author> <year>2003</year> <price>49.99</price> </book> <book category="web"> <title lang="en">Learning XML</title> <author>Erik T. Ray</author> <year>2003</year> <price>39.95</price> </book> </bookstore>

Write a DTD code inside the XML code then run in http://xmlvalidator.new-studio.org/ and show your lab10.xml code and XML validator as following. The following is example only. You need to Choose File such as lab10.mxl.

Hw10: Write a DTD code inside the XML code then run in http://xmlvalidator.new-studio.org/ and show your hw10.xml code and XML validator as following. <?xml version="1.0" encoding="UTF-8"?> <folks> <person pin=”N1”> <name>someone</name> <email>[email protected]</email> </person> <person pin=”N2” friend=”N1”> <name>someone else</name> </person> <person pin=”N3” likes=”N2 N1”> <name>Fan</name> </person> <folks>