Skip to content

Commit

Permalink
Verify it's already possible.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Apr 16, 2018
1 parent 44c5397 commit 0f0cd8f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/Xml/DocumentTest.php
Expand Up @@ -539,6 +539,23 @@ public function dataCollectionProvider()
],
],
],
[
'<course code="ABC">
<title lang="sv">Utmattning</title>
<title lang="en">Fatigue</title>
</course>',
[
'code' => ['uses' => '::code'],
'title' => ['uses' => 'title[::lang>locale,@>name]'],
],
[
'code' => 'ABC',
'title' => [
['locale' => 'sv', 'name' => 'Utmattning'],
['locale' => 'en', 'name' => 'Fatigue'],
],
],
]
];
}
}
Expand Down

0 comments on commit 0f0cd8f

Please sign in to comment.