This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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 ?