O'Reilly logo

Developing Enterprise Web Services: An Architect's Guide by James Webber - Ph.D., Sandeep Chatterjee - Ph.D.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XML Documents

The purpose of an XML document is to capture structured data, just like an object in an object-oriented programming language. Documents are structured into a number of elements, delimited by tags which may or may not be nested within other elements.

Anyone familiar with the syntax of HTML will immediately be comfortable with the look and feel of XML, although anyone thinking about coding XML like HTML must be wary—XML is extremely strict in its syntax, where the interpretation of HTML (particularly by browsers) is quite permissive. As we progress through the examples, it is worth remembering the fundamental document syntax:

  1. All tags must have corresponding end tags unless they are devoid of subelements, in which case they can be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required