An External Entity Declaration
Syntax
<!ENTITY entity-name
SYSTEM "URI/URL">
Example
DTD Example:
<!ENTITY writer SYSTEM "http://www.yahoo.com/entities.dtd">
<!ENTITY copyright SYSTEM "http://www.yahoo.com/entities.dtd">
XML example:
<author>&writer;©right;</author>
<!ENTITY writer SYSTEM "http://www.yahoo.com/entities.dtd">
<!ENTITY copyright SYSTEM "http://www.yahoo.com/entities.dtd">
XML example:
<author>&writer;©right;</author>
No comments:
Post a Comment