Revision 1457
Added by Jing Tao almost 22 years ago
src/edu/ucsb/nceas/metacat/DBTransform.java | ||
---|---|---|
118 | 118 |
Transformer transformer = tFactory.newTransformer( |
119 | 119 |
new StreamSource(xslSystemId)); |
120 | 120 |
transformer.setParameter("qformat", qformat); |
121 |
MetaCatUtil.debugMessage("qformat: "+qformat, 30); |
|
121 | 122 |
transformer.transform(new StreamSource(new StringReader(doc)), |
122 | 123 |
new StreamResult(pw)); |
123 | 124 |
} catch (Exception e) { |
... | ... | |
243 | 244 |
try { |
244 | 245 |
boolean breakflag = false; |
245 | 246 |
String filename = configDir + "/" + qformat + ".xml"; |
246 |
util.debugMessage("Trying style-set file: " + filename); |
|
247 |
util.debugMessage("Trying style-set file: " + filename, 30);
|
|
247 | 248 |
File f = new File(filename); |
248 | 249 |
NodeList nlDoctype = getPathContent(f, "/style-set/doctype"); |
249 | 250 |
NodeList nlDefault = getPathContent(f, "/style-set/default-style"); |
... | ... | |
304 | 305 |
} |
305 | 306 |
|
306 | 307 |
// Return the system ID for this particular source document type |
308 |
MetaCatUtil.debugMessage("style system id is: "+systemId, 30); |
|
307 | 309 |
return systemId; |
308 | 310 |
} |
309 | 311 |
|
Also available in: Unified diff
Add some debug message.