2
<content type="xhtml">
<apxh:div>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
<apxh:p>xyz</apxh:p>
</apxh:div>
</content>
item.getChild(url,CONTENT).setStartElementListener(new StartElementListener() {
@Override
public void start(Attributes attributes) {
str=attributes.getValue("type");
}
});
item.getChild(url,CONTENT).setEndElementListener(new EndElementListener() {
@Override
public void end() {
currentMessage.setType(str);
}
});
이제 "apxh : div"를 ":"로 구분하여 어떻게 구할 수 있습니까?
고맙습니다.
실제로 원자 피드 파싱입니다. – zaiff
SOAP 구문 분석을 시도합니다. 일반적으로 SOAP 구문 분석에는 다음과 같은 패턴이 있습니다. – Richa