| 149 | Alternatively - to avoid mixed content - the context could be enclosed in separate element as well: |
| 150 | {{{ |
| 151 | <ccs:DataView type="kwic"><c>Some text with </c><kw>keyword</kw> <c>highlighted</c></ccs:DataView> |
| 152 | }}} |
| 153 | Or in the extreme form, every token is wrapped in an element: |
| 154 | {{{ |
| 155 | <ccs:DataView type="kwic"> |
| 156 | <t id="t1">Some</t> |
| 157 | <t id="t2">text</t> |
| 158 | <t id="t3" >with</t> |
| 159 | <t id="t4" kw="1">keyword</t> |
| 160 | <t id="t5">highlighted</t> |
| 161 | </ccs:DataView> |
| 162 | }}} |
| 163 | This comes close to the way the text is encoded in '''TCF''' and would accordingly allow to add (stand-off) annotation layers (lemma, POS, but also syntactic annotations). |
| 164 | |