Difference between revisions of "MAL"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m |
BryanDerksen (Talk | contribs) m (→mal.xml) |
||
| Line 2: | Line 2: | ||
== mal.xml== | == mal.xml== | ||
| + | |||
| + | See [http://www.oasis-open.org/committees/relax-ng/spec.html] for information on the RELAX NG 1.0 XML schema format. For a free converter/verifier, see [http://code.google.com/p/jing-trang/]. | ||
<pre> | <pre> | ||
Latest revision as of 20:37, 22 September 2009
Material Library file, Stores a grouping of material files.
mal.xml
See [1] for information on the RELAX NG 1.0 XML schema format. For a free converter/verifier, see [2].
<?xml version="1.0" encoding="UTF-8"?>
<grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<element name="MaterialLibrary">
<optional>
<attribute name="ID">
<data type="NCName"/>
</attribute>
</optional>
<zeroOrMore>
<element name="MaterialObject">
<attribute name="Name">
<data type="NMTOKEN"/>
</attribute>
<zeroOrMore>
<choice>
<element name="DefaultSemantic">
<attribute name="Name">
<data type="NCName"/>
</attribute>
</element>
<element name="Float">
<attribute name="Name">
<data type="NCName"/>
</attribute>
<attribute name="value">
<data type="decimal"/>
</attribute>
</element>
<element name="Material">
<attribute name="Name">
<data type="NCName"/>
</attribute>
</element>
<element name="SoundType">
<attribute name="Name">
<data type="NCName"/>
</attribute>
<attribute name="value">
<data type="integer"/>
</attribute>
</element>
<element name="Texture">
<attribute name="Name">
<data type="NCName"/>
</attribute>
<optional>
<attribute name="RequiresID">
<data type="boolean"/>
</attribute>
</optional>
<attribute name="ResName"/>
</element>
<element name="Vector4f">
<attribute name="Name">
<data type="NCName"/>
</attribute>
<attribute name="value"/>
</element>
<element name="float">
<attribute name="Name">
<data type="NCName"/>
</attribute>
<attribute name="value">
<data type="decimal"/>
</attribute>
</element>
<element name="texture">
<attribute name="Name">
<data type="NCName"/>
</attribute>
<attribute name="ResName">
<data type="NCName"/>
</attribute>
</element>
</choice>
</zeroOrMore>
</element>
</zeroOrMore>
</element>
</start>
</grammar>