Lighting Setups XML Document Schema
  
Lighting Setups XML Document Schema
This chapter lists the XML schema for the lighting setups XML document used in Creo View.
About the XML Schema
The XML schema listed below defines the following characteristics of the Light Scenes XML document:
Elements and attributes that can appear in the document, along with their data types and values
Which elements are child elements, and the order and number of child elements
Whether an element is empty or can include text
Any custom Light Scenes XML files that you intend to use with Creo View must follow this schema.
* 
For more information on the Light Scenes XML Document, see Customizing Lighting Setups.
XML Schema Listing
<?xml version="1.0" encoding="utf-16"?>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="lightscenes">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="lightscene">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name">
<xsd:complexType>
<xsd:attribute name="locid" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="light">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="color">
<xsd:complexType>
<xsd:attribute name="ambient" type="xsd:string" />
<xsd:attribute name="diffuse" type="xsd:string" />
<xsd:attribute name="specular" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="direction">
<xsd:complexType>
<xsd:attribute name="x" type="xsd:decimal" />
<xsd:attribute name="y" type="xsd:decimal" />
<xsd:attribute name="z" type="xsd:decimal" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="relative" type="xsd:string" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>