content Element

The content element defines embedded binary resources for image, sound, font, bitmapFillStyle and sprite elements.

Syntax

<content type="contentType" [encoding="contentEncoding"]>
   <![CDATA[Base64 encoded binary data goes here...]]>
</content>

 

Attributes

Name

Description

Value type

Optional

Default Value

type

Content type for this binary resource.

contentType

no

-

encoding

Defines encoding method for this binary resource. Only base64 encoding is now supported.

string

yes

base64

Parent Elements

image, bitmapFillStyle, sound, font, sprite

See Also

XML Schema Reference