create a tag-library file
1) create xml-file
create a text-file and rename it to "myfile.xml". then open created file with any text-editor and add the following code:
2) add root-node
<?xml version="1.0" encoding="ISO-8859-1"?>
<taglib>
...
</taglib>

 | name of root-node must be lowercase and must end with "lib" (name of tag will become name of library-token) |

 | attributes of root-node will be ignored |
3) add child-nodes
<?xml version="1.0" encoding="ISO-8859-1"?>
<taglib>
<title>
<open>
<![CDATA[<div class="title" >]]>
</open>
<close>
<![CDATA[</div>]]>
</close>
</title>
</taglib>

 | all child nodes must be lowercase and must not be named like root node |

 | attributes of child-nodes attributes will be ignored |

 | every child-node can have two sub-nodes named "open" and "close" |

 | if data of your sub-nodes contain special characters (that are not compliant with XML) put them between CDATA-brackets |
|