An Approach to Define Flexible Structural Constraints in XQuery