2
test: Simple Alias Example
4
If you need to refer to the same item of data twice,
5
you can give that item an alias. The alias is a plain
6
string, starting with an ampersand. The item may then
7
be referred to by the alias throughout your document
8
by using an asterisk before the name of the alias.
9
This is called an anchor.
17
array('Steve', 'Clark', 'Brian', 'Oren', 'Steve')
20
test: Alias of a Mapping
22
An alias can be used on any item of data, including
23
sequences, mappings, and other complex data types.
31
array(array('Meat'=>'pork', 'Starch'=>'potato'), 'banana', array('Meat'=>'pork', 'Starch'=>'potato'))