Some conditionals in place for XML generation but documents are not being generated yet.