Windows Media Player SDK banner art
PreviousNext

Skin Definition File XML Structure

The skin definition file is written in XML. One of the important features of XML is that it is completely structured, and is similar to an outline. The XML code is simply a series of elements such as VIEW and BUTTONGROUP. You will start with the elements and then define them with attributes. The rest of this tutorial will give you details on the attributes, but here is the outline of the elements that will be used:

<THEME>
    <VIEW>
        <BUTTONGROUP>
            <BUTTONELEMENT/>
            <BUTTONELEMENT/>
        </BUTTONGROUP>
    </VIEW>
<THEME>

By keeping in mind the simple structure of the elements, you can make sense of the attributes that make each element unique. Details of each element will be covered in the remaining topics of this section. For more information about elements and attributes, see the Skin Programming Reference.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.