Extracting Structure from HTML using Adam's dom.d

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 26 09:38:36 PST 2015


On Monday, 26 January 2015 at 17:24:23 UTC, Adam D. Ruppe wrote:
> 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.

But I need to query all data from this field. I do not know what 
will be in quotes. I need select this value.


More information about the Digitalmars-d-learn mailing list