docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.0Web Developer ManualEmit Tags
Copyright © 2006, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<emit>
<emit atlas>
<emit cimg>
<emit dir>
<emit fonts>
<emit js-dynamic-popup>
<emit js-hide-popup>
<emit languages>
<emit ldap>
<emit path>
<emit sources>
<emit sql>
<emit timerange>
<emit values>

<emit source="values"></emit>

Provided by module: Tags: RXML 2 tags

Splits the string provided in the values attribute and outputs the parts in a loop. The value in the values attribute may also be an array or mapping.


Attributes

values="string, mapping or array"

An array, mapping or a string to be splitted into an array. This attribute is required unless the "variable" or "from-scope" attribute is used.


variable="name"

Name of a variable from which the values are taken.


split="string" (NULL)

The string the values string is splitted with. Supplying an empty string results in the string being split between every single character.


advanced="{lines, words, chars}"

If the input is a string it can be splitted into separate lines, words or characters by using this attribute.


case="{upper, lower}"

Changes the case of the value.


trimwhites

Trims away all leading and trailing white space charachters from the values.


randomize="{yes, no}"

Outputs the values in random order.


from-scope="name"

Create a mapping out of a scope and give it as input to the emit.


&_.index; (provided by Tags: RXML 2 tags)

The index of this mapping entry, if input was a mapping


&_.value; (provided by Tags: RXML 2 tags)

The value of one part of the splitted string