In order to write additional information to some nodes I need to draw text directly from the rules xml file.
Something like :
Special()(This rule style was taken from the OpenSeaMap project)
This way I draw the default symbol and in case the node has some special data y draw the text by hand and the data from de osm file.
This feature is very used in nautical charts to identify special data from some nodes (for example ligth periods, colors, flashing pattern …etc).
The problem is that the only rule that works on my osmarender instalation is :
Looked at the osmarender wiki rule page http://wiki.openstreetmap.org/wiki/Osmarender/Rules where text rule does not even exist (tried caption rule, same result as text rule).