Wiki

Clone wiki

Okapi / ResourceCase002

Standalone localizable property in inline code

In this case an HTML paragraph has an a inline element with a modifiable href attribute, but the inline element has no embedded text.

<p>Before <a href='link.htm'/> after.</p>

TextUnit model

Event -> Resource (with GenericSkeleton):

DOCUMENT_PART -> DocumentPart={
   id=dp1
   properties={
      prop[href]='link.htm' (localizable)
   }
   isReference=true
   skeleton={
   }
}
TEXT_UNIT -> TextUnit={
   id=t1
   properties={
   }
   isReference=false
   text=[Before <a href='{#$dp1@%href}'/> after.]
   skeleton={
      part='<p>'
      part='{#$$self$}'
      part='</p>'
   }
}

Maximalist TextFlow Model

Conceptually identical to ResourceCase001

Updated