Encoded the value when adding child nodes in the XmlRenderer
Supports @ notation for attributes

When setting an attribute you can also set a special variable 'value' to
set the value of an XML element. JSON representation will retain the
name 'value' in the object.

$hal = new Nocarrier\Hal('/orders', array(
    'content' => array(
        '@type' => "text",
        'value' => "Lorem Ipsum"
    )
));
Merge branch 'master' of github.com:blongden/hal into attribute-annotate

Conflicts:
	src/Nocarrier/HalXmlRenderer.php
	tests/Hal/HalTest.php
Merge pull request #8 from chrisramakers/master

Fix for warnings when outputting XML with Resources that contain ampersands
Fixed location of api docs
Merge branch 'master' into attribute-annotate
Merge pull request #9 from blongden/attribute-annotate

Attribute annotate
replaces htmlentities with htmlspecialchars

htmlentities generates output that contains invalid XML entities, use htmlspecialchars instead.
XML only know of 5 entities: http://www.w3.org/TR/xml/#sec-predefined-ent
Merge pull request #10 from chrisramakers/master

Replace htmlentities with htmlspecialchars
Update README.md
Update README.md

Updates the minimum-stability to 'dev'
Ignores composer.phar
Merge branch 'master' of github.com:blongden/hal
Output booleans as 1/0 in XML

bool false was outputted as an empty string in XML while true was outputted as int 1. Now false is outputted as int 0 for consistency
Added unit tests for boolean representation in json/xml output
fixed error in unittest
Merge pull request #12 from chrisramakers/master

XML output for false changed from empty string to int 0
Adds decoding of Hal documents

Does not support embedded resources
Use HalLink instead of structured array
Adds test for setting value of xml element