2012-01-07から1日間の記事一覧
JavaでXPathを簡単に使えないかと聞かれたので、試しにやってみたらこうなった。 NodeList nodes = (NodeList)XPathFactory.newInstance().newXPath().compile( "xpath" ).evaluate( DocumentBuilderFactory.newInstance().newDocumentBuilder().parse( "fil…
JavaでXPathを簡単に使えないかと聞かれたので、試しにやってみたらこうなった。 NodeList nodes = (NodeList)XPathFactory.newInstance().newXPath().compile( "xpath" ).evaluate( DocumentBuilderFactory.newInstance().newDocumentBuilder().parse( "fil…