JCR query to get all documents path based on document type and path and which are published documents only

Hi Team,

can anyone give the query to get all documents path based on document type and path and which are published documents only.

Hi,
For the delivery side, the hippo:availability property can be used, as in
//element(*, mynamespace:mydoctype)[@hippo:availability='live']

Cheers, Jeroen

Thank u @jeroen.hoffman