<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>
「xhtml」を次のように入力して取得できます。
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」を取得するにはどうすればよいですか?
ありがとうございました。