Entities - including a list of them

Posted by Nick Gammon on Mon 04 Jun 2001 12:28 PM — 1 posts, 7,023 views.

Australia Forum Administrator #0

Because MXP uses the characters:

< , > , and &

as part of its markup scheme it is essential that MUD servers replace those three characters in particular with their equivalent "entity names", namely:

&lt; , &gt; , and &amp;

You can also use any arbitrary ASCII code combination like this: &#225;

The list of predefined entity names is at MXP Entities.


Defining your own entities

You can also define your own entities, like this:


<!ENTITY clan_name "Blood Clan" >

Then you could use this entity in MUD output like this:


You are a member of &clan_name;