String omit = props.getProperty(OutputKeys.OMIT_XML_DECLARATION);
afterEndTag = omit==null || !Whitespace.trim(omit).equals("yes") ||
props.getProperty(OutputKeys.DOCTYPE_SYSTEM)!=null ;
s = props.getProperty(SaxonOutputKeys.SUPPRESS_INDENTATION);
if (s != null) {
suppressedElements = new IntHashSet(8);
NamePool pool = getNamePool();
StringTokenizer st = new StringTokenizer(s, " \t\r\n");
while (st.hasMoreTokens()) {
String clarkName = st.nextToken();
int fp = pool.allocateClarkName(clarkName);
suppressedElements.add(fp);
}
}
s = props.getProperty(SaxonOutputKeys.DOUBLE_SPACE);
if (s != null) {
doubleSpacedElements = new IntHashSet(8);
NamePool pool = getNamePool();
StringTokenizer st = new StringTokenizer(s, " \t\r\n");
while (st.hasMoreTokens()) {
String clarkName = st.nextToken();
int fp = pool.allocateClarkName(clarkName);