<httpUploadData> Configuration Element

This element allows for the configuration of information which is used when using HTTP media upload within Ephox EditLive! for XML.

Configuration Element Tree Structure

Important

This element structure has been deprecated. The <httpUploadData> should be used as a child of the <httpUpload> element instead (see below).

<editLive>
  ...
    <mediaSettings>
      <httpUpload ... >
        <httpUploadData ... />
      </httpUpload>
  </mediaSettings>
  ...
</editLive>

Required Attributes

name

This attribute should contain the name for the extra data property being transmitted with the HTTP upload.

data

This attribute should contain the extra data that you wish to transmit with the HTTP upload.

Example

The following example demonstrates how to set various <httpUploadData> attributes.

<editLive>
  ...
  <mediaSettings>
    <httpUpload 
      base="http://yourserver.com/mediaDir/"
      href="http://yourserver.com/scripts/uploadhandler.asp"
    >
      <httpUploadData name="user" data="default"/>
      <httpUploadData name="priority" data="1"/>
      ...
    </httpUpload>
  <mediaSettings>
  ...
</editLive> 

Remarks

The <httpUploadData> element can appear multiple times within the <httpUpload> element.

The <httpUploadData> element must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. See the example below:

<httpUploadData name=... />