Share via


Path Simple Type

Defines the values used to specify a path to a definition or member in the current .sdm file namespace or in an aliased (imported) namespace. The path is essentially a dot-separated list of simple names. For more information, see SimpleName Simple Type.

<xs:simpleType name="Path">
    <xs:restriction
        base="string"
    >
        <xs:pattern
            value="[_\p{Ll}\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{Nl}]{1}[\w\p{Lm}\p{Nl}\p{Cf}\p{Mn}\p{Mc}]*(\.[_\p{Ll}\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{Nl}]{1}[\w\p{Lm}\p{Nl}\p{Cf}\p{Mn}\p{Mc}]*)*"
         />
    </xs:restriction>
</xs:simpleType>

Patterns

The following pattern is defined by the Path simple type:

[_\p{Ll}\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{Nl}]{1}[\w\p{Lm}\p{Nl}\p{Cf}\p{Mn}\p{Mc}]*(\.[_\p{Ll}\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{Nl}]{1}[\w\p{Lm}\p{Nl}\p{Cf}\p{Mn}\p{Mc}]*)*

The two-letter abbreviations in the pattern are from Unicode standards, and are defined in the "UnicodeCategory Enumeration" topic in the MSDN Library at https://msdn.microsoft.com/library. The first character can be: _, Ll, Lu, Lt, Lm, Lo, or Nl. Other characters can be \w, Lm, Nl, Cf, Mn, Mc, where \w translates to Ll, Lu, Lt, Lo, Nd, or Pc.