aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index b7f6ea6..06e29b7 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,10 @@
-Html search using non-standard xpath, written in C. See tests/main.c
+Html search using non-standard xpath, written in C. See tests/main.c.
+
+# Syntax examples
+```
+//div[id='user']//p[class='sneed*']
+//div[id='user']/div[class='name'][0]
+```
# Note
This library does not decode html sequences in text and attribute values.