(The error is. Nokogiri::XML::XPath::SyntaxError: Invalid predicate). I can escape the query to xml.xpath("//node[@id=\"#{id_array[1]}\"]").first
確定! 回上一頁