Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with XPATH

 
Catriona McCann
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic