Annotation Use Case Simple Content Wrap

From W3C XForms Group Wiki (Public)
Jump to: navigation, search

Annotation Use Case Simple Content Wrap

In this use case the selected text would be wrapped by an XML element.

Assume that the user selects the word "jumps" and selects the appropriate annotation icon (or function key).

Before annotation:

  The quick brown fox jumps over a lazy dog.

After annotation:

  The quick brown fox <tag>jumps</tag> over a lazy dog.

Within the XHTML namespace the user might select the "bold" icon and create the following:

  The quick brown fox <b>jumps</b> over a lazy dog.

The following screen image might reflect the view of the textarea after the annotation has been performed. Annotations-simple-wrap-screen-image.png