if (wrappingElementPrefix == null || wrappingElementPrefix == "") throw logger.wrongTypeError("Wrapping element prefix invalid");