Home > Programming > XML Programming
XML programming in Java technology Part 2
Sort Desciption:In an earlier tutorial ("XML programming in Java technology Part 1") ...... Learn. Review the previous tutorial in this series "XML programming in Java ...
Content Inside:XML programming in Java technology Part 2Page 1XML programming in Java technology Part 2Skill Level: IntroductoryDoug Tidwell (dtidwell@us.ibm.com)XML EvangelistIBM09 Jul 2004This advanced tutorial covers more sophisticated topics for manipulating XMLdocuments with Java technology. Author Doug Tidwell shows you how to do taskssuch as generate XML data structures validate XML documents work withnamespaces and interface XML parsers with nonXML data sources. As you'dexpect all of the examples are based on open standards.Section 1. IntroductionAbout this tutorialIn an earlier tutorial ("XML programming in Java technology Part 1") I showed youthe basics of XML parsing in the Java language. I covered the major APIs (DOMSAX and JDOM) and went through a number of examples that demonstrated thebasic tasks common to most XML applications. This tutorial will look at more difficultthings that weren't covered before such as: Getting and setting parser features Working with namespaces Validating XML documentsAs in the introductory tutorial the APIs I'll cover are: The Document Object Model (DOM) Levels 1 2 and 3 The Simple API for XML (SAX) Version 2.0 JDOM a simple Java API created by Jason Hunter and Brett McLaughlinXML programming in Java technology Part 2 Copyright IBM Corporation 1994 2005. All rights reserved. of 39Page 2 The Java API for XML Processing (JAXP)I'll also cover several approaches to validation including W3C XML Schema RELAXNG and Schematron.About the examplesMost of the examples here will work with the Shakespearean sonnet that appearedin the last tutorial. The structure of this sonnet is:<sonnet><author><lastNam e><firstName><nationality>& lt;yearOfBirth><yearOfDeath></ author><lines>14 <line> elements]</lines></sonnet>In the various sample programs some versions of this document will havenamespaces and some will use DTDs W3C XML Schemas or other schemalanguages for validation. For th ...
Source: www.freejavaguide.com
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Related Files
XML from a Programming Language Perspective
Filed under: Programming and XML Programmingprogramming lanugages and type systems? XML from a Programming Language .... The second is to make it into a programming language. XML from a ...
XML programming in Java technology Part 1
Filed under: Programming and XML Programmingthe pleasures of XML programming is the availability of opensource ...... I will cover all of these in an advanced XML programming tutorial here at ...
Programming in o:XML
Filed under: Programming and XML ProgrammingThis is a programming guide for the o:XML programming language. ... XML and some programming experience preferably with an objectoriented language. ...
Programming XML
Filed under: Programming and XML ProgrammingProgramming XML. XML Excursion 2001. Introduction. Who am I? Director of Product Technology SoftQuad Software Inc. CoDesigner XMetaL. Chair W3C DOM WG ...
THE DUALITY OF XML MARKUP AND PROGRAMMING NOTATION
Filed under: Programming and XML ProgrammingThe XML notation is subsumed in the programming language. The XML ..... In this paper we have explored the duality of XML and programming language notation ...
