I am trying to create an xpath query to select JCR nodes of multiple primary types.
For example, I could write a query like this:
/jcr:root/content//element(*, nt:unstructured)
to select all the nodes of type nt:unstructured, or this:
/jcr:root/content//element(*, nt:file)
to get all the nodes of type nt:file
Is it possible to write one query to select all the nodes of type nt:unstructured and of type nt:file?