I have an XML like this
<Message>
<Id>123</Id>
<CreatedDate>200607041522</CreatedDate>
<PatientData>
<Ids>
<Id>
<Type>LocalSystem</Type>
<Value>123456789</Value>
</Id>
<Id>
<Type>ExternalSystem</Type>
<Value>456123789</Value>
</Id>
</Ids>
</PatientData>
</Message>
Can I use X-path to get the value for the Id with a type of "LocalSystem" regardless of case? I have seen messages with all of the following combinations:
o LocalSystem
o Localsystem
o LOCALSYSTEM
o localsystem
I tried
message.getNode('/Message/PatientData/Ids/Id[Type='NHS']/Value');
but it fails unless the case matches.