Chapter 5 -- Entities and Other Components

[Previous] [Next]

Chapter 5

In Chapter 4, we examined the two principal components of a document type definition (DTD): elements and attributes. In this chapter, we will look at some additional components that can be added to the DTD. The focus of this chapter will be entities, which are used to represent text that can be part of either the DTD or the XML document. You can use a single entity to represent a lengthy declaration and then use the entity in the DTD. You can also use entities to make one common file that contains a set of standard declarations that can be shared by many DTDs.



Developing XML Solutions
Developing XML Solutions (DV-MPS General)
ISBN: 0735607966
EAN: 2147483647
Year: 2000
Pages: 115
Authors: Jake Sturm

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net