MashZone NextGen 10.2 | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Writing Mashups in EMML | Combining Component Mashable or Mashup Results | <merge>
 
<merge>
 
<merge> Examples
Merges the results of two or more variables with a uniform structure or type. The structures of the variables must be identical, except for root node names, and they must be document type variables. Optionally, this can also select specific nodes to be included in the output.
For syndicated feeds, MashZone NextGen was configured in earlier releases to normalize feeds to a single standard format. Normalization is now turned off, by default. Instead, you can now normalize results for syndicated feeds during the merge.
For more information and examples, see <merge> Basics, Selecting Specific Nodes from the Merged Results and Normalizing Merged Results for Syndicated Feeds. See also Working Samples for information on sample mashups that use this statement.
Can Contain
Empty
Allowed In
mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while
Attributes
Name
Required
Description
inputvariables
yes
A list of comma-separated input or variable names to use as input to the operation.
outputvariable
yes
The required variable to accept the output of this statement.
select
An expression identifying the specific nodes within the merged result that should be the only nodes included in the output of this statement. This expression must define a well-formed XML structure.
Note: This attribute is incompatible with the feedtype attribute.
feedtype
The standard web feed format that all merged input should be converted to. All of the merged inputs must be in either an RSS or Atom format for this attribute to be effective.
You can ’normalize’ the output to:
*rss_2.0
*rss_1.0
*atom_1.0
Note: This attribute is incompatible with the select attribute.
title
If the merged output is being normalized to a web feed format (the feedtype attribute is set), this is the title to assign to the results.
Note: This attribute is incompatible with the select attribute.
description
If the merged output is being normalized to a web feed format (the feedtype attribute is set), this is the description to assign to the results.
Note: This attribute is incompatible with the select attribute.
author
If the merged output is being normalized to a web feed format (the feedtype attribute is set), this is the author to assign to the results.
Note: This attribute is incompatible with the select attribute.
link
If the merged output is being normalized to a web feed format (the feedtype attribute is set), this is the link to assign to the results.
Note: This attribute is incompatible with the select attribute.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release