Index: head/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml =================================================================== --- head/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml +++ head/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml @@ -861,7 +861,7 @@ context. Parameter entity definitions are similar to those for - general entities. However, parameter entries are included + general entities. However, parameter entities are included with %entity-name;. The definition also includes the % between @@ -877,13 +877,16 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [ -<!ENTITY % param.some "some"> -<!ENTITY % param.text "text"> -<!ENTITY % param.new "%param.some more %param.text"> - -<!-- %param.new now contains "some more text" --> +<!ENTITY % entity "<!ENTITY version '1.0'>"> +<!-- use the parameter entity --> +%entity; ]> + + At first sight, parameter entities do not look very + useful, but they make it possible to include other files into + an XML document.