ãããï¼XPathã£ã¦ä¾¿å©ãªãã§ããï¼æè¿ãã£ã¨ææ¥ã§ç¿ã£ã¦ï¼ãã®ä¾¿å©ã£ã·ããå®æãã¦ãã¾ãï¼ãã®XPathãæ¨æºæ·»ä»ã®ç¯å²ã§ä½¿ãããã ããï¼ä¾¿å©ã§ãããã¼ï¼ åå表ãå ã«ããXMLãã¡ã¤ã«ãèªã¿è¾¼ãã§ï¼åååãå ã«ãã®ååã®å¤æ®µãæ±ããï¼ã¨ãã課é¡ãåºã¦ï¼ã¾ãããã¯Javaã§ãããªãããµã¤ã¼ã«ãã¡ã¼â (ã ã¨æã)ãªãã§ããï¼ã¾ãæè§REXMLã§XPath使ãããã ããï¼ãã£ã¦ã¿ããï¼ èªã¿è¾¼ã¾ããXMLãã¡ã¤ã«ã¯ãããªã®ï¼ <goodslist> <goods> <name>åã¡ãã</name> <price>1050</price> <duedate>2006-10-15</duedate> </goods> â¦require 'rexml/document' doc = REXML::Document.new(File.open(ARGV.shift)) word = ARGV.s
{{#tags}}- {{label}}
{{/tags}}