# Using XML entities for character replacements

All of the normal xml character entities are available for use in your source documents. So you can use "`&trade;`" for the trademark symbol (™) and use "`&ouml;`" for special accents (ö).

Forrest also has some default sets of symbols. There is one set for the core of Forrest. These are automatically available for use in the "document-v*" series of document types. (If you want to use them in another document type, then you need to specify them in the document type declaration of your xml instance documents or in your custom DTD. See below.)

For example, use "`&for-s;`" to represent the strong text string "&for-s;". See the list of available symbols at `main/webapp/resources/schema/entity/symbols-core-v10.ent` which shows that that example entity was declared as `<strong>Apache Forrest</strong>` .

You can supply lists of symbols for your own project too. Create a fresh site with 'forrest seed' and see the set `src/documentation/resources/schema/symbols-project-v10.ent`

For example, use "`&myp-t;`" to represent the project name together with trademark symbol "&myp-t;".

The set of project symbols is already configured. To use the symbols in your documents, add to the document type declaration. For example, see the source for this document (`src/documentation/content/xdocs/samples/xml-entites.xml`) which declares the project symbol set ...

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd" [
    <!ENTITY % symbols-project
        PUBLIC "-//Apache Forrest//ENTITIES Symbols Project v1.0//EN"
        "symbols-project-v10.ent">
      %symbols-project;
    ]>
    <document>
      ...