> elementMatched(String path, Element e) { > String parentName = e.getParent().getParent().getAttributeValue("name"); > } > > This no longer works because getParent() returns a Parent instead of an > Element. Is there a way around this? Cast it? -jh-