Add xml style sheet processing instruction

This commit is contained in:
hns 2004-07-05 13:44:31 +00:00
parent 8573a3a5bd
commit 9466ccd76e

View file

@ -194,6 +194,8 @@ public class XmlWriter extends OutputStreamWriter implements XmlConstants {
} else {
writeln("<?xml version=\"1.0\" encoding=\"" + explicitEncoding + "\"?>");
}
// add style sheet processing instruction
writeln("<?xml-stylesheet type=\"text/xsl\" href=\"helma.xsl\"?>");
// writeln ("<!-- printed by helma object publisher -->");
// writeln ("<!-- created " + (new Date()).toString() + " -->" );