Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gchq/stroom-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
at055612 committed Jun 8, 2017
2 parents af60950 + 22309e5 commit fc7e4d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user-guide/pipelines/xslt/xslt-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ The following functions are available to aid your translation:
* `current-time()` - The current system time
* `current-user()` - The current user logged into Stroom (only relevant for interactive use, e.g. search)
* `dictionary(String name)` - Loads the contents of the named dictionary for use within the translation
* `feed-attribute(String attributeName)` - Lookup a given attribute supplied when the stream was sent to Stroom, e.g. feed-attribute('System').
* `feed-name()` - Name of the feed for the data being processed
* `format-date(String date, String pattern)` - Format a date that uses the specified pattern using the default time zone
* `format-date(String date, String pattern, String timeZone)` - Format a date that uses the specified pattern with the specified time zone
Expand All @@ -39,6 +38,7 @@ The following functions are available to aid your translation:
* `lookup(String map, String key)` - Look up a reference data map using the period start time
* `lookup(String map, String key, String time)` - Look up a reference data map using a specified time, e.g. the event time
* `lookup(String map, String key, String time, Boolean ignoreWarnings)` - Look up a reference data map using a specified time, e.g. the event time, and ignore any warnings generated by a failed lookup
* `meta(String key)` - Lookup a meta data value for the current stream using the specified key. The key can be `Feed`, `StreamType`, `CreatedTime`, `EffectiveTime`, `Pipeline` or any other attribute supplied when the stream was sent to Stroom, e.g. meta('System').
* `numeric-ip(String ipAddress)` - Convert an IP address to a numeric representation for range comparison
* `random()` - Get a system generated random number between 0 and 1.
* `search-id()` - Get the id of the batch search when a pipeline is processing as part of a batch search
Expand Down Expand Up @@ -158,4 +158,4 @@ An example of how to count records is shown below:
<data name="Count">
<xsl:attribute name="Value" select="$count" />
</data>
```
```

0 comments on commit fc7e4d5

Please sign in to comment.