help on indexing

Hello, I have the following schema and I would like to index the “p” element and its children element, so such text retrieval could be efficient. The following just does not work, i.e. it is not indexed when I did query based on this schema:
ylinschema.tsd (12.1 KB)

Problem solved. thanks.