RELAX NG |
|
Introduction |
|
RELAX NG is almost as powerfull as XML Schema, but is much simpler to write. Because it was created after the DTD and XML Schema languages, its authors were able to take advantage of the previous work, and build a powerfull, simple language. Unfortuniatly, because it came into existance later, many tools are built for DTD and XML Schema languages, but not as many for RELAX NG. There are two versions of the RELAX NG language. They are exactly equivilant, but are written with different syntax. One syntax is XML, the other is a compact syntax which is not XML. We will begin working with the compact syntax. |
|
Compact syntax |
|
The compact syntax is built using patterns. We will look at four basic patterns:
| |
Reading assignment |
|
Reading assignments are in Chapter 6: RELAX NG |
|