B.C.A (Semester 4) Teaching Schedule 030010408 exentisible Markup Language OBJECTIVE: To introduce the concept of creating, validating, parsing, formatting, transforming and linking the well formatted XML document and to integrate XML with database. Course Outcomes: Upon completion of the course, students shall be able to CO1: determine applicability of XML concepts. CO2: create and validate XML document. CO3: create and locate XML element and link XML document. CO4: parse XML documents using Document Object Model (DOM). CO5: format and transform XML documents. CO6: use JAXB to convert Java objects from and to XML. CO7: describe the concepts of integrate XML with database. Unit No. of Lectu re(s) Topics Reference Chapter/Addition al Reading Teaching Methodology to be used Evaluation Parameter 1 [08] Introduction to XML 1.1, 1.2 1 Introduction, History Of Markup Language 1.3 1 Advantages Of XML Over Other Markup Language 1.4 1 Application Of XML Heading 1.5, 2 XML Syntax: 1.6 Introduction, XML Document Structure 1.7, 2 Rules Of XML Structure, 1.8 Well formed and valid document SV #1 - Page No. 9,19-20 SV #1 - Page No. 20-26 SV #1 - Page No. 28-32 SV #2 - Page No. 36-50 SV #2 - Page No. 53-57 WH #3- Page No.36-39 WH #5- Page No.59-68 Planned Used with chalk & Talk with chalk & Talk 1.9 1 Namespace in XML SV #2 - Page No. 58-61 WH #7- Page No.91-97 Open Book Ms. Trupti Rathod and Ms.Trupti Patel Page 1
2 [10] Create and validate XML document 2.1, 2 DTD: Introduction, SV #3 - Page No. 68-2.2 Structure of DTD: 103 Declaration, Attributes, Entities, DTD Directives 2.3, 1 DTD Drawback And SV #3 - Page No. 103-2.4 Alternatives, 105, 108-109 XML Schema: http://www.w3school Introduction s.com/xml/xml_dtd.as p 2.5 2 Declaring Schema: SV #4 - Page No. 116- Attributes, Elements, 131 Complex Elements, http://www.w3school Simple Types s.com/xml/xml_dtd.as p 2.6 1 Refining Simple Type SV #4 - Page No. 131- Using Facets 138 2.7, 1 Anonymous Type SV #4 - Page No. 138-2.8 Declaring, 141 Specifying Mixed Content For Elements 2.9, 2 Annotating Schemas, SV #4 - Page No. 141-2.10 Model Group, Attribute 143, 148-149 2.11 Group 2.12 1 Targeting Namespace SV #4 - Page No. 149-159 WH #21- Page No.486-489 3 [06] Linking XML Document with chalk & Talk with chalk & Talk with chalk & Talk with chalk & Talk Open Book Unit Test 1 3.1 2 XPath: Operators, Special Character, and XPath Syntax SV #5 - Page No. 171-207 WH #16- Page No.287-300 using XPath tool Ms. Trupti Rathod and Ms.Trupti Patel Page 2
3.2 2 XPointer: Points, SV #5 Page No. 207- Ranges, Abbreviating 215 XPointer Notation WH #24- Page No.535-549 3.3 2 XLink: Simple Links, SV #5 - Page No. 215- PowerPoint Extended Links 221 Presentation WH #24- Page No.515-531 4 [08] Parsing XML using Document Object Model Quiz 4.1 1 DOM: Introduction, DOM Levels 4.2 2 DOM Core : Parents, Children, Siblings, DOM Interface, Java Binding 4.3 2 DOM Traversal and Range 4.4 3 DOM Implementation: JDOM SV #7 - Page No. 269-271 SV #7 Page No. 271-275 SV #7 - Page No. 284-290 SV #7 - Page No. 291-294 Quiz 5 [10] Transforming and Formatting XML Document 5.1 1 XSL: technologies SV #9 - Page No. 346 WH #15- Page No.263-279 5.2 1 XSLT for Document SV #9 Page No. Publishing : 347,360-370 Introduction, features 5.3 3 XSL for Business-to- SV #9 - Page No. 371- Business 377 communication 5.4 2 XSL Formatting Objects SV #9 - Page No. 377- (XSL-FO) 395 WH #17- Page No.398- Presentation with demonstration Unit Test-2 Ms. Trupti Rathod and Ms.Trupti Patel Page 3
415 http://w3schools.sinsi xx.com/xslfo/default.a sp.htm 5.5 1 CSS: Introduction SV #11 - Page No. 443-448 WH #13- Page No.186 5.6 2 XML Presentation using SV #11 - Page No. 448- CSS 453 6 [06] Integrating XML with Databases 6.1, 1 XML Database Solution, SV #10 - Page No. 407-6.2 Modeling Database in 410 XML 6.3, 1 JAXB Solution, SV #10 Page No. 410-6.4 Reviewing Database 412 Schema http://www.w3school s.com/xml/schema_int ro.asp 6.5, 1 Constructing the desire SV #10 - Page No. 412-6.6 XML Document, 414 Defining Schema for XML document 6.7, 1 Creating the JAXB SV #10 - Page No. 414-6.8 Binding Schema, 419 Generating the JAXB Classes Based on Schema 6.9 2 Developing a DAO SV #10 - Page No. 419-427 Text Book: 1. Schmelzer,Vandersypen,Bloomberg,XMLandWebServices[SV] 2.Williamson,H.,Xml:TheCompleteReference,TataMcGrawHill.[WH] Reference Book : 1. Holzner, S., A Beginer's guide: XML, Tata McGraw Hill Presentation with demonstration Demonstration Ms. Trupti Rathod and Ms.Trupti Patel Page 4
2. Goldberg, K., XML: Visual QuickStart Guide, Peachpit Press 3. Harold, E., and W. Scott Means, XML in a nutshell, O'Reilly Reference Site: 1.http://www.w3schools.com/xml/ Note : # denotes chapter number. Course objectives and Course outcomes mapping : o o Introduce the concept of well formatted XML document creation: CO1, CO2. Introduce the concept of validate, link, parse, format, and transform the XML document: CO2, CO3, CO4, and CO5. o Integrate XML with database: CO6, C07. Course Units and Course Outcomes Mapping: Unit No Unit CO1 CO2 CO3 CO4 CO5 CO6 CO7 1 Introduction to XML 2 Create and validate XML document 3 Linking XML Document 4 Parsing XML using Document Object Model 5 Transforming and Formatting XML Document 6 Integrating XML with Databases Course outcomes and Program Outcome mapping: Course Outcomes CO1 CO2 CO3 CO4 CO5 CO6 CO7 Program Outcomes PO1 PO2 PO3 PO4 PO5 PO6 Modes of Transaction (Delivery): Lecture method is generally used but along with it, as and when required, discussion method shall be fruitful. Ms. Trupti Rathod and Ms.Trupti Patel Page 5
Activities/Practicum: The following activities shall be carried out by the students. 1. Create a demo of binding XML with HTML, also validate XML document using XML schemas (evaluate in self creation). The following activities shall be carried out by the teacher. 1. Demonstration of binding XML File with PHP and Python. Concept Map: Course: extensible Markup Language Ms. Trupti Rathod and Ms.Trupti Patel Page 6
Unit 1: Introduction to XML Ms. Trupti Rathod and Ms.Trupti Patel Page 7
Unit 2: Create and validate XML document Ms. Trupti Rathod and Ms.Trupti Patel Page 8
Unit 3: Linking XML Document Ms. Trupti Rathod and Ms.Trupti Patel Page 9
Unit 4: Parsing XML using Document Object Model Ms. Trupti Rathod and Ms.Trupti Patel Page 10
Unit 5: Transforming and Formatting XML Document Ms. Trupti Rathod and Ms.Trupti Patel Page 11
Unit 6: Integrating XML with Databases Ms. Trupti Rathod and Ms.Trupti Patel Page 12