aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/xml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/xml.rb')
-rw-r--r--lib/sisu/v3/xml.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/xml.rb b/lib/sisu/v3/xml.rb
index 5dfd6e7b..a3767177 100644
--- a/lib/sisu/v3/xml.rb
+++ b/lib/sisu/v3/xml.rb
@@ -392,13 +392,13 @@ WOK
rdf=SiSU_XML_tags::RDF.new(@md)
dir=SiSU_Env::Info_env.new
@@xml[:head],@@xml[:body]=[],[]
- css=SiSU_Env::CSS_select.new(@md).xml_sax
+ css=SiSU_Env::CSS_stylesheet.new(@md)
encoding=if @sys.locale =~/utf-?8/i; '<?xml version="1.0" encoding="UTF-8" standalone="no"?>'
else '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>'
end
@@xml[:open] =<<WOK
#{encoding}
-<?xml-stylesheet type="text/css" href="../#{dir.path.style}/#{css}"?>
+#{css.xml_sax}
#{rdf.comment_xml}
<document>
WOK