FileTypes

Frank Shaka edited this page Oct 19, 2017 · 8 revisions

This document declares file types that XMind application supports.

IMPORTANT: All third-party applications and plugins should follow these types and identifiers when declaring supports for XMind files.

File Types

  • XMind Workbook File
    • File Extension: .xmind
    • MIME Type: application/vnd.xmind.workbook
    • UTI: org.xmind.openformat.xmind
  • XMind Template File
    • File Extension: .xmt
    • MIME Type: application/vnd.xmind.template
    • UTI: org.xmind.openformat.xmt
  • XMind Media Package File
    • File Extension: .xmp
    • MIME Type: application/vnd.xmind.media-package
    • UTI: org.xmind.openformat.xmp
  • XMind Resource Bundle File
    • File Extension: .xrb
    • MIME Type: application/vnd.xmind.resource-bundle
    • UTI: org.xmind.openformat.xrb
  • XMind 2007/2008 Workbook File
    • File Extension: .xmap
    • MIME Type: application/vnd.xmind.xmap
    • UTI: org.xmind.openformat.xmap

Type Declarations for Apple Apps

When developing macOS/iOS apps that supports importing XMind files, developers have to declare UTIs (Uniform Type Identifiers) for XMind file types and register them with the app in the Info.plist file. The following snippet shows an example of how to do this.

  <key>UTImportedTypeDeclarations</key>
  <array>
    <dict>
      <key>UTTypeIdentifier</key>
      <string>org.xmind.openformat</string>
      <key>UTTypeDescription</key>
      <string>XMind Open Format</string>
      <key>UTTypeReferenceURL</key>
      <string>http://www.xmind.net/</string>
      <key>UTTypeConformsTo</key>
      <array>
        <string>com.apple.package</string>
        <string>com.pkware.zip-archive</string>
      </array>
    </dict>
    <dict>
      <key>UTTypeIdentifier</key>
      <string>org.xmind.openformat.xmind</string>
      <key>UTTypeDescription</key>
      <string>XMind Workbook</string>
      <key>UTTypeReferenceURL</key>
      <string>http://www.xmind.net/</string>
      <key>UTTypeConformsTo</key>
      <array>
        <string>org.xmind.openformat</string>
        <string>public.composite-content</string>
      </array>
      <key>UTTypeTagSpecification</key>
      <dict>
        <key>public.filename-extension</key>
        <array>
          <string>xmind</string>
        </array>
        <key>public.mime-type</key>
        <string>application/vnd.xmind.workbook</string>
      </dict>
    </dict>
  </array>
  <key>CFBundleDocumentTypes</key>
  <array>
    <dict>
      <key>CFBundleTypeName</key>
      <string>XMind Workbook</string>
      <key>LSItemContentTypes</key>
      <array>
        <string>org.xmind.openformat.xmind</string>
      </array>
      <key>LSHandlerRank</key>
      <string>Alternate</string>
    </dict>
  </array>
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.