다음과 같은 XML 문서 감안할 때 : 나는 (분쇄기, 드 구조는, 변환) 구문 분석하려면 어떻게구문 분석 XML 문서
<Element0 AttributeA="A">
<Element1 AttributeB="1" AttributeC="C" AttributeD="D">
<Element2>nodeValue</Element2>
</Element1>
<Element1 AttributeB="2" AttributeC="C" AttributeD="D">
<Element2>nodeValue</Element2>
<Element3 AttributeE="E">
<Element4 AttributeF="F">nodeValue</Element4>
</Element3>
</Element1>
.
.
.
.
</Element0>
개별 XPath의에 문서가없이 (아래 참조) XML 문서의 내용에 대한 예고?
//Element0[@AttributeA='A']/Element1[@AttributeB='1' and @AttributeC='C' and @AttributeD='D']/Element2
//Element0[@AttributeA='A']/Element1[@AttributeB='2' and @AttributeC='C' and @AttributeD='D']/Element2
//Element0[@AttributeA='A']/Element1[@AttributeB='2' and @AttributeC='C' and @AttributeD='D']/Element3[@AttributeE='E']/Element4[@AttributeF='F']
간단하고 간단하며 신속한 ... 성공! 정확히 내가 필요한 것 (포지션 추가 포함). 감사합니다 @ Daniel-Haley! – EngineeringSQL
@echoScout - 오신 것을 환영합니다! –