hi all,
i have a parameter file of following format, i want a method which can get the value of specific parameter.
parameter file format:
<Parameter Name="FileLocationWindows">
<Description>
The directory location of the logger file.
</Description>
<Type>String</Type>
<Restriction>
<RequiresRestart>false</RequiresRestart>
<Level>1</Level>
<MinVal/>
<MaxVal/>
<MaxLength>1000</MaxLength>
<Mandatory>true</Mandatory>
<Lov/>
</Restriction>
<Value>
<Item Value="logs"/>
</Value>
</Parameter>
<Parameter Name="FileLocationUnix">
<Description>
The directory location of the logger file.
</Description>
<Type>String</Type>
<Restriction>
<RequiresRestart>false</RequiresRestart>
<Level>1</Level>
<MinVal/>
<MaxVal/>
<MaxLength>1000</MaxLength>
<Mandatory>true</Mandatory>
<Lov/>
</Restriction>
<Value>
<Item Value="/var/cti/logs/sitebook"/>
</Value>
</Parameter>
for example the value of parameter FileLocationUnix is /var/cti/logs/sitebook.
i want a method (getParameterValue("paramtername","parameterFileLocation")) which will return the value.
please help.