i-drop Standard Schema File

The file idrop-schema.xml describes the high-level objects that can be dropped into i-drop-aware applications such as 3ds Max.

You can download the latest version of the idrop-schema.xml file by visiting

http://www.autodesk.com/developidrop

following the link to Samples and clicking on the i-drop schema link.

Alternatively, you can copy the source code below into a text file with the name idrop-schema.xml

XML CODE:

<?xml version="1.0"?>

 

<!-- ********************************************************************** -->

<!-- i-drop package schema -->

<!-- -->

<!-- The i-drop package is a description of a high-level "object" that can -->

<!-- be dropped into an i-drop aware application. The package lists native -->

<!-- file formats and web page proxy representations. -->

<!-- ********************************************************************** -->

 

<Schema name="idrop-13mar2000"

 xmlns="urn:schemas-microsoft-com:xml-data"

 xmlns:dt="urn:schemas-microsoft-com:datatypes">

 

<!-- ********************************************************************** -->

<!-- Attributes -->

 

<AttributeType name="src" dt:type="uri" required="no">

 <description>URL of a source file</description>

</AttributeType>

 

<AttributeType name="defaultsrc" dt:type="uri" required="no">

 <description>URL of a default source file</description>

</AttributeType>

 

<AttributeType name="clipformat" dt:type="string" required="no">

 <description>Custom defined clipboard format</description>

</AttributeType>

 

<AttributeType name="clsid" dt:type="uuid" required="no">

 <description>Class ID of an ActiveX control</description>

</AttributeType>

 

<AttributeType name="codebase" dt:type="uri" required="no">

 <description>URL to an ActiveX control distribution (ala object tag in HTML)</description>

</AttributeType>

 

<AttributeType name="name" dt:type="string" required="no">

 <description>Name of a parameter (ala object tag in HTML)</description>

</AttributeType>

 

<AttributeType name="value" dt:type="string" required="no">

 <description>Value of a parameter (ala object tag in HTML)</description>

</AttributeType>

 

<!-- ********************************************************************** -->

<!-- Elements -->

 

<ElementType name="package">

 <description>i-Drop XML package file</description>  

 <element type="proxy" minOccurs="1" maxOccurs="1"/> 

 <element type="dataset" minOccurs="1" maxOccurs="1"/> 

</ElementType>

 

<ElementType name="proxy">

 <description>Stand-in for the dataset</description>

 <attribute type="defaultsrc" required="yes"/>

 <element type="caption" minOccurs="0" maxOccurs="1"/>

 <element type="img" minOccurs="0" maxOccurs="*"/>

 <element type="activex" minOccurs="0" maxOccurs="*"/>

</ElementType>

 

<ElementType name="caption">

 <description>Caption to display with the proxy</description>

</ElementType>

 

<ElementType name="img">

 <description>Bitmap image file</description>

 <attribute type="src" required="yes"/>

</ElementType>

 

<ElementType name="activex">

 <description>HTML-like definition of an ActiveX control</description>

 <attribute type="clsid" required="yes"/>

 <attribute type="codebase" required="no"/>

 <element type="param" minOccurs="0" maxOccurs="*"/>

</ElementType>

 

<ElementType name="param">

 <description>Parameter to an ActiveX control</description>

 <attribute type="name" required="yes"/>

 <attribute type="value" required="yes"/>

</ElementType>

 

<ElementType name="dataset">

 <description>Collection of data files to choose from</description>

 <attribute type="defaultsrc" required="yes"/>  

 <element type="datasrc" minOccurs="0" maxOccurs="*"/>

</ElementType>

 

<ElementType name="datasrc">

 <description>Collection of data files to treat as one</description> 

 <attribute type="clipformat" required="no"/>

 <element type="datafile" minOccurs="1" maxOccurs="1"/>

 <element type="xreffile" minOccurs="0" maxOccurs="*"/>

</ElementType>

 

<ElementType name="datafile">

 <description>Single data file (may have dependencies)</description>

 <attribute type="src" required="yes"/>

</ElementType>

 

<ElementType name="xreffile">

 <description>Externally referenced file</description>

 <attribute type="src" required="yes"/>

</ElementType>

 

</Schema>

 

See also

i-drop - drag and drop

Interface: dragAndDrop

Zip-file Script Packages