owncloud/core — pull request #1287 by tomneedham (2013-01-24 10:44:55+00:00)
Title: API: Treat array keys starting with '@' as XML attributes

Try and test by creating an api method with the following data array:

```php
$array = array(
'array' => array(
'@version' => '3.0',
'key' => array(
'@attr' => 'attrvalue',
'key' => 'value',
),
'key' => 'value',
),
);
``

Should produce the following result:

```xml

value

value

```