From 95c189f7445e6deca85130b7b8fa25dc76fabe12 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 16 Aug 2021 13:41:20 +0200 Subject: Add indexing and example --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README.md') 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. -- cgit v1.2.3