Changeset 27090 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
- Timestamp:
- 2013-03-15T14:09:47+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
r26848 r27090 901 901 } 902 902 903 // We now no longer create a document with doctype before the transformation 904 // We let the XMLTransformer do the work of first working out the doctype from any 905 // that may be set in the (merged) stylesheets and then setting the doctype when transforming 906 907 /* 903 908 // Try to get the system and public ID from the current skin xsl document 904 909 // otherwise keep the default values. … … 929 934 930 935 docWithDoctype = converter.newDOM(qualifiedName, publicID, systemID); 936 */ 931 937 932 938 //System.out.println("Generate final HTML from current skin") ; … … 975 981 } 976 982 977 Node finalResult = this.transformer.transform(skinAndLibraryDoc, doc, config_params, docWithDoctype); 983 984 // The transformer will now work out the resulting doctype from any set in the (merged) stylesheets and 985 // will set this in the output document it creates. So don't pass in any docWithDocType to the transformer 986 //Node finalResult = this.transformer.transform(skinAndLibraryDoc, doc, config_params, docWithDoctype); 987 Node finalResult = this.transformer.transform(skinAndLibraryDoc, doc, config_params); 978 988 979 989 if (_debug)
Note:
See TracChangeset
for help on using the changeset viewer.