created on XML object with dynamic functions