¿Puede Nokogiri buscar etiquetas "? Xml-stylesheet"?
Necesito analizar una hoja de estilo XML:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/templates/xslt/inspections/disclaimer_en.xsl"?>
Usando Nokogiri probé:
doc.search("?xml-stylesheet").first['href']
pero me sale el error:
`on_error': unexpected '?' after '' (Nokogiri::CSS::SyntaxError)