; selects all the attributes of the context node ; ; Abbreviated XPath: @* ; Full XPath: attribute::* (define tree '(elem (@ (name "elem") (id "idz")) (para (@) "para") (br (@)) "cdata" (para "second par") (div (@ (name "aa")) (para (@) "third para"))) ) ; Low-level: ((node-join (select-kids (ntype?? '@)) (select-kids (ntype?? '*))) tree) ; SXPath: ((sxpath `(@ *)) tree) ==> ((name "elem") (id "idz"))