aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-16 13:41:20 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-16 13:41:20 +0200
commit95c189f7445e6deca85130b7b8fa25dc76fabe12 (patch)
tree7d56d918402c4de74bd8983ff1c81888c3a6b371 /README.md
parent4a0955b851d087d9e97634ae2b7d2f76b0fe0503 (diff)
Add indexing and example
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.