General Features

Having laid down some basic terminology, we're ready to look at some commonly used features. We'll start with a couple of general features, then move on to simple and complex Elements.

Let's begin with a document that references a schema and the schema it references.

SimpleCSV with Schema (SimpleCSV1.xml)
 <?xml version="1.0" encoding="UTF-8"?> <SimpleCSV xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SimpleCSV1.xsd"> <Row> <Column01>Jones</Column01> <Column02>Mary</Column02> <Column03>312 Renner Road</Column03> <Column04>Apartment C</Column04> <Column05>Richardson</Column05> <Column06>TX</Column06> <Column07>75080</Column07> <Column08>USA</Column08> <Column09>972-996-1051</Column09> </Row> ...

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.