Revision 9237
Added by ben leinfelder almost 9 years ago
CNResourceHandler.java | ||
---|---|---|
684 | 684 |
// style the object with a processing directive |
685 | 685 |
String stylesheet = null; |
686 | 686 |
try { |
687 |
stylesheet = PropertyService.getProperty("dataone.types.xsl"); |
|
687 |
stylesheet = PropertyService.getProperty("dataone.types.xsl.v1");
|
|
688 | 688 |
} catch (PropertyNotFoundException e) { |
689 | 689 |
logMetacat.warn("Could not locate DataONE types XSLT: " |
690 | 690 |
+ e.getMessage()); |
... | ... | |
1257 | 1257 |
// style the object with a processing directive |
1258 | 1258 |
String stylesheet = null; |
1259 | 1259 |
try { |
1260 |
stylesheet = PropertyService.getProperty("dataone.types.xsl"); |
|
1260 |
stylesheet = PropertyService.getProperty("dataone.types.xsl.v1");
|
|
1261 | 1261 |
} catch (PropertyNotFoundException e) { |
1262 | 1262 |
logMetacat.warn("Could not locate DataONE types XSLT: " |
1263 | 1263 |
+ e.getMessage()); |
Also available in: Unified diff
use v1 and v2 xsl as appropriate for rendering d1 types (object format list, mostly)