Java勉強するから支援おね
■ このスレッドは過去ログ倉庫に格納されています
0053デフォルトの名無しさん
2007/12/31(月) 02:50:15なぜだ!?ちなみにJava5
DocumentBuilderFactory domFactory = DocumentBuilderFactory
.newInstance();
DocumentBuilder builder = domFactory.newDocumentBuilder();
Document doc = builder.parse(is);
ちなみに解析しているXMLはこれ
<?xml version="1.0" encoding="UTF-8" ?>
<ResultSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:yahoo:jp:jlp"
xsi:schemaLocation="urn:yahoo:jp:jlp http://api.jlp.yahoo.co.jp/MAService/V1/parseResponse.xsd">
<ma_result>
<total_count>1</total_count>
<filtered_count>1</filtered_count>
<word_list>
<word>
<surface>TO</surface>
<reading>TO</reading>
<pos>名詞</pos>
</word>
</word_list>
</ma_result>
</ResultSet>
■ このスレッドは過去ログ倉庫に格納されています