O Nokogiri pode procurar por tags "? Xml-stylesheet"?
Eu preciso analisar uma folha de estilos XML:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/templates/xslt/inspections/disclaimer_en.xsl"?>
Usando Nokogiri, tentei:
doc.search("?xml-stylesheet").first['href']
mas eu recebo o erro:
`on_error': unexpected '?' after '' (Nokogiri::CSS::SyntaxError)