# Syntax Based on HTML DOM tree. ```html ``` ## siblings Siblings are match only consective elements: ```html ``` This pattern matches against ```html ``` this document, results are: ``` { "foo" => 1, "bar" => 2 } { "foo" => 2, "bar" => 3 } ``` ## non-consective siblings `...` indicates allowing any node in sublings. ``` ``` This matches ``` { "foo" => 1, "bar" => 2 } { "foo" => 1, "bar" => 3 } { "foo" => 2, "bar" => 3 } ``` ## attribute Attributes matches superset of words ```html
{{foo}}
``` ## variable ```html hoge hoge ``` ## text node ```html aaa {{foo}} bbb {{bar}} ``` ```html {{whole_sub_tree:*}} ```