Skip to main content


developerWorks  >  XML  >

XML and Related Technologies certification prep, Part 2: Information modeling

Model data with an XML grammar

developerWorks

Level: Intermediate

Louis E Mauget (LMauget@numbersix.com), Senior Consultant, Number Six Software, Inc.

12 Sep 2006

Register now or sign in using your IBM ID and password.

This tutorial on information modeling is the second in a series of five tutorials that can help you prepare for the IBM™ certification Test 142, XML and Related Technologies. This tutorial analyzes XML data, contrasts narrative documents with record-like documents, and models a small data problem using Document Type Definition (DTD) grammar and several iterations of the World Wide Web Consortium (W3C) XML Schema. It finishes with a comparison of DTD and XML Schema to help you choose one or the other in your design.

In this tutorial

This series of five tutorials helps you prepare to take the IBM certification Test 142, XML and Related Technologies, to attain the IBM Certified Solution Developer - XML and Related Technologies certification. This certification identifies an intermediate-level developer who designs and implements applications that make use of XML and related technologies such as XML Schema, Extensible Stylesheet Language Transformation (XSLT), and XPath. This developer has a strong understanding of XML fundamentals; has knowledge of XML concepts and related technologies; understands how data relates to XML, in particular with issues associated with information modeling, XML processing, XML rendering, and Web services; has a thorough knowledge of core XML-related W3C recommendations; and is familiar with well-known, best practices.

This tutorial is for programmers who have a basic understanding of XML and whose skills and experience are at a beginning-to-intermediate level. You should have a general familiarity with defining, validating, and reading XML.

The standardized nature of XML has given rise to a number of derivative cross-platform, cross-language parsers and derivative technologies. Part 1 of this series covered XML architecture. This second tutorial covers the characteristics of data, narrative documents, and data documents. It goes on to model a simple case study in XML, while showing several iterations of a grammar.


Objectives

  • Analyze data and documents

  • Represent structure in XML syntax

  • Use namespaces appropriately

  • Define DTDs

  • Define grammars using XML Schema

  • Determine when to use a DTD versus an XML Schema

Prerequisites

This tutorial is written for developers who have a background in programming and scripting and who have an understanding of basic computer-science models and data structures. You should be familiar with the following XML-related, computer-science concepts: tree traversal, recursion, and reuse of data. You should be familiar with Internet standards and concepts, such as Web browser, client-server, documenting, formatting, e-commerce, and Web applications. Experience designing and implementing Java™-based computer applications and working with relational databases is also recommended.


System requirements

You will need JavaScript enabled in your browser.

To complete the steps as shown in this tutorial you will need an up-to-date browser and a validating XML editor. XMLSpy was the XML editor used in this tutorial. Download a copy of Altova XMLSpy 2006 Home Edition.



Duration

2 hours





Formats

htm, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community


More in this series:
XML and Related Technologies certification prep