With eXtensible Markup Language (XML) becoming a ubiquitous language for data storage and transmission in
various domains, effectively safeguarding the XML document containing sensitive information is a critical issue. In this
study, the authors propose a new access control model with filtering privacy. Based on the idea of separating the structure
and content of the XML document, they provide a method to extract the main structure of the XML document and use matrix
to save the structure information, at the same time, the start–end region encoding is used to combine the corresponding
structure and content skillfully. These not only save the storage space but also efficiently speed up the search and make it
convenient to find the relevant elements, especially the finding of the related content. In order to evaluate the security and
efficiency of this model, the security analysis and simulation experiment verify its performance in this work.