Home

MS Base

  • prefix: ms:
  • schema: b:

Categories (Data):

Categories (Governance):

values:

 
 

Schema element "b:Fragment"

Points to a name with a Unit

Definitions

<simpleType name="Fragment">
  <restriction base="NMTOKEN">
    <pattern value="\S+" />
  </restriction>
</simpleType>

Description

The fragment reference is either:

  • the name of a contextual Unit followed by a hash (#), followed by a name (b:Name) inside that unit; or
  • a hash (#) followed by a name (b:Name) as defined in this very Unit;
  • an attribute which produces a Unit, followed by a # and a Name;
  • it is possible to stack multiple levels to express further dereferencing.

Meshy Spaces offers a few contextual Units to the Unit which is being evaluated:

  • unit, the default: the Unit at hand;
  • system, behaves like a Unit but isn't really;
  • collection;
  • namespace;

Examples

Local fragment

As example, the owner attribute of the Unit contains fragment reference #markov. Elsewhere in the Unit, you find a ms:has with name "markov" which refers to an Identity object.

The fragment #markov is exactly the same as the contextual unit#markov syntax.

contextual fragment

Some examples of contextual fragments:

system#owner
collection#defs
collection#collection#defs
namespace.root#name

mark@overmeer.net      Web-pages generated on 2023-12-19