DITA Proposed Feature # 08

Allow tm to contain images or logo content

Longer description

The current tm element allows only text-based content. In many cases, users have trademarks which are not only represented by a text but by a graphic, such as a logo like Google

This proposal's focus is on allowing images or logo content in the tm element.

Scope

It would be possible to use the image element as a container for trademarks that include a logo graphic. However, this might be a too general container and not meet user requirements.

Instead of this, three options should be discussed:

Use Case

A user wants to place a trademark into a document, however it contains not only text but also graphic elements, specifically a product logo. Of course the user could implement it as an image element, but as it should be processed differently from a standard image, a separate element is desired.

Technical Requirements

Allowing image to be a child element of tm:

<!ELEMENT tm (#PCDATA | %tm; | %image)*>

Allowing to link an image to a tm:

<!ELEMENT tm (#PCDATA | %tm;)*>

<!ATTLIST tm trademark CDATA #IMPLIED

tmowner CDATA #IMPLIED

tmtype (tm|reg|service)#REQUIRED

tmclass CDATA #IMPLIED

tmimage (yes|no) "no"

tmhref CDATA #IMPLIED>

Adding an image based tm element in parallel to the actual tm:

<!ELEMENT tmi (%alt;)?>

<!ATTLIST tmi href CDATA #REQUIRED

keyref NMTOKEN #IMPLIED

alt CDATA #IMPLIED

longdescref CDATA #IMPLIED

height NMTOKEN #IMPLIED

width NMTOKEN #IMPLIED

align CDATA #IMPLIED

placement (inline|break)"inline"

%univ-atts;

outputclass CDATA #IMPLIED>

Costs

low

Benefits

A clearly defined container for image or logo based trademarks.

Time Required

Each of the modifications would require some hours of work for the dtd and the language ref.