Home

MS Base

  • prefix: ms:
  • schema: b:

Categories (Data):

Categories (Governance):

units:

 
 

Schema element "b:use"

Refer to knowledge inside another Unit.

Definitions

<element name="use" type="b:Use" />

<complexType name="Use">
  <sequence>
    <element name="include" type="b:Names" [0..∞] />
    <element name="exclude" type="b:Names" [0..∞] />
  </sequence>
  <attribute name="from" type="b:Fragment" use! />
  <attribute name="all"  type="boolean" default="true"  />
  <attributeGroup ref="b:selector" />
</complexType>

Description

Take definitions from the specific fragment in an other Unit. In your context, some definitions are taken by default: from the system, Collection, Namespace, Payload, server and user Identity. Use this construct to import definitions from additional libraries.

attribute all

Determines whether to take b:all definitions from the fragment which is referred to by default.

attribute from

Refers to a fragment with definition in a different Unit. When the Unit cannot be read, it will not result in an error.

element exclude

When b:all definitions are imported by default, some MAY be excluded explicitly. For instance, because of name conflicts are need for a clean style.

element include

When not b:all, then specify explicitly which reusables MAY be used here. Only those will be passed to Units which use this reusable.


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