xml 구조가
<channel>
<title>
</title>
<link>
</link>
.............................
<item>
<category>
</category>
<title>
</title>
<link>
</link>
</channel>
이런식의 구조로 되어있습니다. <channel> 안에 <title> 이 있고 <link> 가 있고 쭉쭉쭉 아래로 더있고 <item>안에 또 <title> 과 <link>가 있고 여기서 <item>안에 있는 정보들만 파싱하고 싶은데요. SAX파싱으로 디폴트핸들러 class만들어서 startElement 함수 에서 localName.equalsIgnoreCase("item")을 해봤는데요 못읽더라구요. 그래서 channel로 바꿨더니 읽던데 여기서 channel 아래에있는 item 정보만 가져오는 방법을 알 수 있을까요?
질문 <channel> 아래에있는 <item> 안에 내용들만 파싱하는방법