public void toSAX(ContentHandler handler) throws SAXException {
handler.startDocument();
handler.startPrefixMapping("", SiteTreeImpl.NAMESPACE);
Node repoNode = this.tree.getRepositoryNode();
int revision = this.tree.getRevision(repoNode) + 1;
AttributesImpl attrs = new AttributesImpl();
attrs
.addAttribute("", ATTR_REVISION, ATTR_REVISION, TYPE_CDATA, Integer
.toString(revision));