The paper discusses a novel approach for evaluating XML queries that take into account user preferences regarding document structure, addressing limitations in traditional exact query evaluations that often yield either too many or no results. The proposed solution introduces a three-phase evaluation plan—rewriting, evaluation, and merging—utilizing an annotated strong dataguide and the twigstack algorithm for holistic processing of preference queries. The methodology enhances query response relevance by synthesizing the best results based on user-defined structural preferences.