XMLTreeOutputWalker tw = new XMLTreeOutputWalker(sb);
FileLookup fl = new FileLookup();
InputStream file = fl.lookupFile("schema/infinispan-config-" + Version.getMajorVersion() + ".xsd");
XSOMParser reader = new XSOMParser();
reader.parse(file);
XSSchemaSet xss = reader.getResult();
XSOMSchemaTreeWalker w = new XSOMSchemaTreeWalker(xss.getSchema(1), "infinispan");
TreeNode root = w.getRoot();
associateBeansWithTreeNodes(configBeans, root);
TreeNode node = tw.findNode(root, "namedCache", "infinispan");