Changeset 1767
- Timestamp:
- 02/23/12 16:22:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-schematron/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/MDMarshaller.java
r1751 r1767 160 160 Transformer transformer = componentToSchemaTemplates.newTransformer(); 161 161 transformer.setOutputProperty(OutputKeys.INDENT, "yes"); 162 transformer.setOutputProperty(SaxonOutputKeys.INDENT_SPACES, "1"); //Keeps the downloads a lot smaller.162 // We used to also set SaxonOutputKeys.INDENT_SPACES to 1 to keep downloads smaller, but this is no longer available in Saxon-HE 163 163 ByteArrayOutputStream out = new ByteArrayOutputStream(); 164 164 MDMarshaller.marshal(spec, out);
Note: See TracChangeset
for help on using the changeset viewer.