Added BaseX integration and dynamic XML fetching.