0
XML이 대소 문자를 구분한다고 생각합니까? XML 파일에서 < Header> 또는 < header> 필드를 찾으려고합니다. 나는 다음과 같은 코드를 사용합니다 XDocument.Descendents는 대소 문자를 구분하지 않습니다
If Not xmlDoc.Descendants("Header") Is Nothing Then
do something
ElseIf Not xmlDoc.Descendants("header") Is Nothing Then
do something else
Else
Print(1, "No header information found" & vbCrLf)
messageText.Text = "Validation Complete"
Return false
End If
그래서 내가 < 헤더가 XML 파일에서 찾고 있어요>를하고 '뭔가를'라인은 실행중인! 어떻게 대소 문자를 구분할 수 있습니까?