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, I have been looking for sample source code for creating and executing XPATH expressions but can't seem to find code that matches the parsers I'm using.I'm using the jaxp1.1 parsers (jaxp, xalan, crimson) ! Any ideas where I could look for code snippets ... Thanks in advance! C.
XPath is very closely related to XML Transfomrations and XSL. Any good XSL resource should cover a fair amount of XPath stuff. You can play with XPath predicates using a simple XML/XSL and a web browser. You really don't need a parser if your goal is to learn static tranformations. Here are some useful links - XPath tutorial at XVon - one of the best. XSLT Programmer's reference. N.Walsh's XSL Training Good luck,
------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).