unescapeXmlName() public static method

Helper method to unescape node names that encoded invalid things for xml. At the same time, change document namespace prefix to repository prefix if needed.
public static unescapeXmlName ( string $name, array $namespaceMap ) : string
$name string A name encoded with escapeXmlName
$namespaceMap array
return string the decoded name
コード例 #1
0
 /**
  * @dataProvider escapeDataProvider
  */
 public function testUnescapeXmlName($expectedOutput, $input)
 {
     $this->assertEquals($expectedOutput, ImportExport::unescapeXmlName($input, array()));
 }