unescapeXmlName() публичный статический Метод

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
Результат string the decoded name
Пример #1
0
 /**
  * @dataProvider escapeDataProvider
  */
 public function testUnescapeXmlName($expectedOutput, $input)
 {
     $this->assertEquals($expectedOutput, ImportExport::unescapeXmlName($input, array()));
 }