String id = getId(pElement);
XMLResource resource = (XMLResource) col.createResource(id, XMLResource.RESOURCE_TYPE);
ContentHandler ch = resource.setContentAsSAX();
Marshaller marshaller = getManager().getFactory().createMarshaller();
marshaller.marshal(pElement, ch);
col.storeResource(resource);
} catch (XMLDBException e) {
throw new PMException(e);
} catch (IllegalAccessException e) {
throw new PMException(e);
} catch (InstantiationException e) {