I have a DWG file I converted to SVG for analysis, and when I use NokoGiri parsing,
I don't see any ID tags or anything that describes to me what the path is for (the text or object it represents).
This is my code, ver simple:
require 'nokogiri'
doc = File.open("svgTest.svg") { |f| Nokogiri::HTML(f) }
puts doc