Hi XSLT/XPATH gurus, I am converting an xml file into html. However, I want to list only the objects below that have the processing instructions "<?INSERT OBJECT?>" and filter out all the others. I know how to do that based on attributes or child element but not based on processing instructions. Anybody ? <OBJECT NAME="CONTACTS"> <?INSERT OBJECT?> <OBJ_ATTR NAME="ID"> <OBJ_ATTR NAME="NAME"> </OBJECT> <OBJECT NAME="COMPANY> <OBJ_ATTR NAME="ID"> <OBJ_ATTR NAME="NAME"> <OBJ_ATTR ADDRESS1="1100 Vernon Street"> </OBJECT> So how do I formulate the "template select" for this ?