Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Node fromTag = document.selectSingleNode("//*:from"); 選択クエリでプレフィックスなしのように、dom4j ドキュメントにクエリを設定する必要があり ます。どうやってやるの?
Node fromTag = document.selectSingleNode("//*:from");
DOM4J は XPath 1.0 のみをサポートしますが、代わりに次の式を使用できます。
document.selectSingleNode("//*[local-name()='from']");