Printable XPath Cheat Sheet
This one-page XPath 1.0 cheat sheet is for anyone working with XML, XSLT, or XML validation. It lists common XPath expressions in two columns, Expression and Meaning, with examples such as /a/b for child path from root, //b for any descendant b, and . for the current node.

Free printable · PDF
- 1 page
- US Letter — choose “Fit to page” for A4
- PDF, 60 KB
Free for personal, family and classroom use.
Need to edit it? The full pack has the editable Word file plus all 4 sheets — $5.00, one-time.
Your free PDF is downloading. Want all 4 sheets in one download, plus the editable Word file so you can change the text?
Instant download · 7-day refund · Secure checkout by Stripe
Use it as a quick reference while writing or checking XPath queries. Keep it open beside your editor, or print it for a desk copy when you need fast reminders of basic XPath syntax.
Good for
- Check XPath syntax while editing XML
- Review common path expressions fast
- Keep nearby for XML validation work
Tip: Print on letter paper in landscape if you want the rows easier to scan.
4 files · PDF, DOCX
Get every sheet: XML Reference Pack
This sheet plus 3 more in one download, with the editable Word files. Printable XML reference: well-formedness rules and error guide, XPath cheat sheet, character escaping table and an XML review checklist.
$5.00 USD, one-time 4 files · about $1.25 each
- Instant download
- 7-day refund
- Secure checkout by Stripe
7-day money-back guarantee. Full refund within 7 days of purchase, even after you download.
More free printables
Printable XML Parser Error Guide1 page · free PDF
Printable XML Escaping ChartOne-page XML escaping table with character, escape, and where needed columns for &, <, and > in text and attributes.1 page · free PDF
Printable XML Review ChecklistOne-page XML file review checklist for checking structure, tags, attributes, and basic validity before submission or sharing.1 page · free PDF