CHAPTER 2 RELATED XML RECOMMENDATIONS This is a simple internal entity declaration. You can also reference an external entity and use it to include larger amounts of content in your XML document. This is similar to using a server-side include file in an XHTML document. The following XML document refers to several entities: &tableOfContents; &chapter1; &chapter2; &chapter3; &appendixA; &index; This XML document takes its content from several entities, each representing an external XML document. The DTD needs to include a declaration for each of the entities. For example, you might define the tableOfContents entity as follows: Associating a DTD with an XML Document So far, you ve seen how to construct a DTD, but you haven t yet seen how to associate it with an XML document. You can either embed the DTD in the XML document or add a reference to an external DTD. You can reference an external DTD from the XML document in the prolog: You can also embed a DTD within the prolog of the XML document: ]>
… You can find this example saved as dvd_embedded_dtd.xml within your resources files.
Note: In case you are looking for affordable and reliable webhost to host and run your business application check Vision ftp web hosting services