aboutsummaryrefslogtreecommitdiff
path: root/src/support/dom/document_cache_item.cc
blob: a684d97e2844a359e09e3c998c9dbd834432fafb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "support/dom/document_cache_item.h"

namespace InputXSLT {

DomDocumentCache::item::item(document_ptr&& document):
	document_(std::move(document)),
	parser_(),
	dom_support_(parser_),
	parsed_source_(
		document_.get(),
		parser_,
		dom_support_
	) { }

xalan::XalanDocument* DomDocumentCache::item::getXalanDocument() {
	return this->parsed_source_.getDocument();
}

}