aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/xml_dom.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/xml_dom.rb')
-rw-r--r--lib/sisu/v3/xml_dom.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/xml_dom.rb b/lib/sisu/v3/xml_dom.rb
index 0fe44836..726e48d5 100644
--- a/lib/sisu/v3/xml_dom.rb
+++ b/lib/sisu/v3/xml_dom.rb
@@ -467,13 +467,13 @@ WOK
def pre
rdf=SiSU_XML_tags::RDF.new(@md)
dir=SiSU_Env::Info_env.new
- css=SiSU_Env::CSS_select.new(@md).xml_dom
+ 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_dom}
#{rdf.comment_xml}
<document>
WOK