I need to get an attribute:
<Info InstallPath="C:\Program Files\MyProg" Version="1.0" >
<Modules>
<parser.exe Launched="Off" />
<analyzer.exe Launched="On" />
</Modules>
</Info>
I wrote:
echo $Parser = $xml->Info->Modules->parser.exe->attributes()->Launched;
But it does not work because "parser.exe" contains a dot
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';'