共用方式為


em element 

Specifies that the text contained within this element should be emphasized.

Element Information

Element type: EmphasisType complexType

Namespace: https://schemas.microsoft.com/sideshow/2006/scf

Schema name: Simple Content Format

Elements and Attributes

Parent Elements

txt element

Child Elements

clr element

Attributes

None.

Remarks

While bold is recommended for emphasis, the manner of emphasis is up to individual Windows SideShow-compatible devices. If a device cannot emphasize text by using formatting, it may surround the text to be emphasized with other appropriate characters, such as quotes.

The EmphasisType complexType defines the type that allows for the em element to occur within the txt element, interspersed with both text and one or more instances of the clr element.

Usage Example

<txt>I <em>wish</em> I had a Windows SideShow-compatible device!</txt>

Schema Definition

<xsd:element name="em" type="EmphasisType" />

<xsd:complexType name="EmphasisType" mixed="true">
    <xsd:sequence minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="clr" />
    </xsd:sequence>
</xsd:complexType>

<xsd:element name="clr" type="ColorType" />

<xsd:complexType name="ColorType" mixed="true">
    <xsd:sequence minOccurs="0" maxOccurs="unbounded">
        <xsd:element ref="em" />
    </xsd:sequence>
    <xsd:attribute name="rgb" type="ColorRGB" use="required" />
</xsd:complexType>

See Also

Concepts

txt element
clr element