开发者

Mojo::DOM - XPath - Question

开发者 https://www.devze.com 2023-03-20 22:01 出处:网络
Why 开发者_StackOverflow中文版did the Mojo::DOM developers create their own Selectors and not use the XPath syntax?They didn’t exactly. CSS syntax is much more natural to a lot of web developers and,

Why 开发者_StackOverflow中文版did the Mojo::DOM developers create their own Selectors and not use the XPath syntax?


They didn’t exactly. CSS syntax is much more natural to a lot of web developers and, despite xpath’s power, CSS is a better impedance match for HTML DOM. It’s one of the reasons jQuery has done so well for example.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号