void () { // variables on empty attributes addTestWithPositionCheck("ul[a]>li[b=]>div[b=\"\"]+div[a=\"a\"]+div.", """ <ul a="|"> <li b="|"> <div b="|">|</div> <div a="a">|</div> <div class="|">|</div> </li> </ul>"""); addTest("some:elem", "<some:elem></some:elem>"); addTest("li#id$.class$*3", "<li id=\"id1\" class=\"class1\"></li><li id=\"id2\" class=\"class2\"></li><li id=\"id3\" class=\"class3\"></li>"); addTest("select#test", "<select name=\"\" id=\"test\"></select>"); addTest("h${Header $}*3", "<h1>Header 1</h1><h2>Header 2</h2><h3>Header 3</h3>"); }