<slice> get a 'slice' of a collection
- name
- slice
- xml namespace
- http://moyaproject.com
Slice a sequence of values (extract a range of indexed values).
Example
<slice src="hobbits" start="1" stop="3" dst="slice_of_hobbits"/>
attributes
name |
purpose |
type |
required? |
default |
choices |
dst |
Destination for slice |
reference |
Yes |
|
|
src |
Value to slice |
reference |
Yes |
|
|
start |
Start point |
expression |
No |
None |
|
stop |
End point |
expression |
No |
None |
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
if |
Conditional expression |
expression |
No |
yes |
|