Adding Metadata to Mashups
Metadata declarations allow you to set processing flags or pass other information to applications that will use a mashup, use a macro or handle mashup results.
The metadata declarations that you can use include:
<emml-meta> for metadata built into EMML. It provides processing flags or other information used by the Mashup Engine.
<user-meta> to define your own custom metadata. You can use this for flags or any other data you wish to associate with a mashup or a macro. You define the names and content of user metadata to fit your requirements.
Metadata Names and Values
All metadata declarations have a name attribute that identifies the purpose of the metadata. Metadata declarations can contain a simple value or a complex structure of descendant elements. Descendants cannot be EMML statements or declarations.
For example:
<emml-meta name="author">Olivia Deschelle</emml-meta> <user-meta name="categories"> <category>accounting</category> <category>internal</category> <category>financial partners</category> </user-meta>
Simple values for metadata are a string datatype.
For <emml-meta>, the names are predefined. Currently, the only defined EMML metadata statement is <emml-meta name="author"> which can be used to identify the author of a mashup or a macro.
Names for user-defined metadata must:
Be unique.
Start with an ASCII letter and contain only ASCII letters, numbers, dashes (-) or underscores (_). Names are case sensitive.
Enterprise Mashup Markup Language (EMML) Documentation is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.
