3.1.2.3.5 ST_String (String)

This simple type specifies that its contents will contain a string. The contents of this string are interpreted based on the context of the parent XML element.

[Example: Consider the following WordprocessingML fragment:

 <w:pPr>
   <w:pStyle w:val="heading1" /> 
 </w:pPr>

The value of the val attribute is the ID of the associated paragraph style's styleId. However, consider the following fragment:

 <w:sdtPr>
   <w:alias w:val="SDT Title Example" />
   ...
 </w:sdtPr>

In this case, the decimal number in the val attribute is the caption of the parent-structured document tag. In each case, the value is of type ST_String, and therefore must be interpreted in the context of the parent element. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

Referenced By

acd@acdName3.1.2.1.1.1, acd); acd@acdName3.1.2.1.1.2, acd); acd@argValue (§3.1.2.1.1.1, acd); acd@fciBasedOn (§3.1.2.1.1.1, acd); acdEntry@acdName3.1.2.1.1.3, acdEntry); fci@fciName3.1.2.1.1.7, fci); macro@macroName3.1.2.1.1.11, macro); wll@macroName3.1.2.1.1.16, wll)

The following XML Schema fragment defines the contents of this simple type:

 <simpleType name="ST_String">
   <restriction base="xsd:string"/>
 </simpleType>
Show: