• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Entity References

As you learned in Chapter 12, "Anatomy of an XML Document," entities are normally external objects, such as graphics files that are meant to be included in the document. To be able to reference these external entities, you must have a DTD for your XML document. You will learn about these entities when you learn about DTDs, but one other type of entity, called an internal entity, you can use already, and it can save you a lot of unnecessary typing.

Internal entities look very much like character references but have one important difference—you must declare an internal entity before you can use it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint