std.xml2 (collecting features)

crimaniak via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 25 15:59:04 PST 2016


On Sunday, 21 February 2016 at 23:57:40 UTC, Adam D. Ruppe wrote:
> On Sunday, 21 February 2016 at 23:01:22 UTC, crimaniak wrote:
>> I will use it in my experiments, but getElementsBySelector() 
>> selector language need to be improved I think.
>
> What, specifically, do you have in mind?

Where is only a couple of ad-hoc checks for attributes values. 
This language is not XPath-compatible, so most easy way to cover 
a lot of cases is regex check for attributes. Something like 
"script[src/https:.+\\.googleapis\\.com/i]"


More information about the Digitalmars-d mailing list