CCM NG: output=xml parameter did not work.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4984 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 3c7bce78e5
pull/2/head
jensp 2017-09-05 17:29:18 +00:00
parent 500013cb82
commit 4041cfd9a7
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class Document {
// Explicitly create elements & attributes to avoid namespace
// problems
private final static String identityXSL =
"<xsl:stylesheet version=\"1.0\""
"<xsl:stylesheet version=\"2 .0\""
+ " xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n"
+ "<xsl:output method=\"xml\"/>\n"
+ "<xsl:template match=\"text()|comment()|processing-instruction()\">\n"