Extracting Structure from HTML using Adam's dom.d

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 26 09:24:21 PST 2015


On Monday, 26 January 2015 at 17:17:55 UTC, Suliman wrote:
> Do you mean something like this?

I just mean to get the value of the rel="something" attribute, use

element.rel;

assert(element.rel == "something");


The element is the thing you see in the loop and stuff. 
querySelectorAll returns an array of elements.


More information about the Digitalmars-d-learn mailing list