- markup (76)
- xml (11)
- xslt (23)
- pipelines (8)
- atom (9)
- overlapping markup (6)
- schema (11)
- creole (5)
- dtll (1)
- xforms (1)
- xpath (1)
- xquery (2)
- coding (2)
- datagovuk (1)
- genealogy (4)
- hardware (1)
- linked data (16)
- modelling (1)
- named graphs (1)
- opendata (1)
- provenance (1)
- psi (3)
- skos (1)
- sparql (4)
- Talis (7)
- unicode (1)
- uri (4)
- versioning (1)
- visualisation (6)
- web (78)
- google (4)
- html5 (5)
- jQuery (2)
- rdf (46)
- ontologies (2)
- rdfa (8)
- rdfQuery (5)
- rest (6)
- wikis (1)
- work (3)
- legislation (2)
- xmlsummerschool09 (2)
- life (28)
- children (5)
- equality (6)
- gtd (1)
- environment (4)
- gadgets (5)
- software (3)
- xlinq (2)
- conferences (11)
- ukgc09 (1)
- xtech (9)
- xtech2008 (3)
- blog (8)
- drupal (3)
Mixed XML/LMNL
Here’s a short document that is both valid XML and valid LMNL, and illustrates my point. It expresses the fact that paragraphs dominate sentences, plus the fact that hiliter markup can overlap either of them:
<p><s>Lolita, light of my life, [hilite}fire of my loins.</s> <s>My sin, my soul.{hilite]</s> <s>Lo-lee-ta: the tip of the tongue taking a [hilite}trip of three steps down the palate{hilite] to tap, at three, on the teeth.</s> <s>[hilite}Lo.</s> <s>Lee.</s> <s>Ta{hilite].</s><p>
<p><s>She was Lo, plain Lo, in the morning, standing four feet ten in one sock.</s> <s>[hilite}She was Lola in slacks.</s> <s>She was Dolly at school.{hilite]</s> <s>She was Dolores on the dotted line.</s> <s>But in my arms [hilite}she was always Lolita.</s></p>
<p><s>Did she have a precursor?</s>[hilite} <s>She did, indeed she did.</s></p>
Throw away the XML tags, and you get just hilited ranges. Throw away the LMNL tags, and you get simple structure. Keep both, and you get an extended LMNL data model with p, s, and hilite ranges, where the s ranges have a parent pointer to the p ranges that dominate them.