Changeset 26555 for main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
- Timestamp:
- 2012-12-05T15:05:18+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java
r26506 r26555 701 701 Document configStylesheet_doc = this.converter.getDOM(new File(configStylesheet_file)); 702 702 703 if (_debug)704 {705 GSXSLT.modifyConfigFormatForDebug(configStylesheet_doc, GSFile.collectionConfigFile(GSFile.collectDir(GSFile.siteHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.SITE_NAME)) + File.separator + collection)));706 }707 708 703 if (configStylesheet_doc != null) 709 704 { 710 705 Document format_doc = this.converter.newDOM(); 711 706 format_doc.appendChild(format_doc.importNode(format_elem, true)); 707 708 if (_debug) 709 { 710 String siteHome = GSFile.siteHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.SITE_NAME)); 711 GSXSLT.insertDebugElements(format_doc, GSFile.collectionConfigFile(siteHome, collection)); 712 } 713 712 714 Node result = this.transformer.transform(configStylesheet_doc, format_doc, config_params); // Needs addressing <- 713 715 … … 733 735 if (_debug) 734 736 { 735 GSXSLT.mergeStylesheetsDebug(style_doc, new_format, true, true, "OTHER1", GSFile.collectionConfigFile(GSFile.collectDir(GSFile.siteHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.SITE_NAME)) + File.separator + collection))); 737 String siteHome = GSFile.siteHome(GlobalProperties.getGSDL3Home(), (String) this.config_params.get(GSConstants.SITE_NAME)); 738 GSXSLT.mergeStylesheetsDebug(style_doc, new_format, true, true, "OTHER1", GSFile.collectionConfigFile(siteHome, collection)); 736 739 } 737 740 else
Note:
See TracChangeset
for help on using the changeset viewer.