I Element (Deep Zoom File Format Schema)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines an image in the collection.

Collection Element (Deep Zoom File Format Schema)
  Items Element (Deep Zoom File Format Schema)

<I 
  N="Morton number of item" 
  Id="Unique ID"
  Source="string passed"
  IsPath="true|false"
  Type="pixel source type" 
>
  <Size ... />
  <Viewport ... />
</I>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

N

Required unsignedLong attribute.

The number of the item (Morton Number) where it appears in the tiles.

Id

Required unsignedLong attribute.

A number associated with the item. It could be a database key or any other number that you will find useful. By default it’s the same as I.N.

Source

Optional string attribute.

The path to the .dzi file associated with this item in the collection. It can be absolute or relative.

IsPath

Optional boolean attribute with a default value of true.

Determines whether the Source is a path. Always 1 for Deep Zoom images, so this attribute does not need to be included.

Type

Optional string attribute with a default value of ImagePixelSource.

The pixel source type. Always ImagePixelSource for Deep Zoom images, so this attribute does not need to be included.

Child Elements

Element

Description

Size

Required element.

Defines the size of the image in pixels.

Viewport

Optional element.

Defines the location of the image in the viewport.

Parent Elements

Element

Description

Items

Contains the items in the collection.

Remarks

minOccurs="0"

maxOccurs="unbounded"

Element Information

Namespace

Empty

Schema name

Deep Zoom Schema

Validation file

deepzoom.xsd

Can be empty

Yes