4
전진 전용 리더 System.Xml.XmlTextReader을 사용하고 있습니다. 디버깅 할 때 언제든지 커서의 행 번호와 열 번호를 확인하기 위해 LineNumber
및 LinePosition
속성을 확인할 수 있습니다. 문서에서 커서의 "경로"를 볼 수있는 방법이 있습니까?문서 커서의 경로는 무엇입니까?
예를 들어, 다음 HTML 문서에서 커서가 * 인 경우 경로는 html/body/p
과 같을 것입니다. 나는 이것이 정말 도움이되는 것을 발견 할 것이다.
<html>
<head>
</head>
<body>
<p>*</p>
</body>
</html>
편집 : 나는 또한 XmlWriter
을 검사 할 수 있기를 바랍니다.