You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
first of all, thanks a lot, this is incredibly fast...
i've got simple and probably silly question, i can't figure out how to access an attribute with non default namespace for example xsi:type, of course
$attributes = $elem->attributes();
$ref = $attributes->{"xsi[type]"};
doesn't work...
any idea would be very welcome :)
thabks again for this fantastic work
chris
The text was updated successfully, but these errors were encountered:
hi again,
found out... in case it helps anybody let's say you have a custom namespace foo:toto
$attributes = $elem->attributes();
$val = $elem->attributes("foo",TRUE)->toto;
returns foo:toto = 'whatever' value (whatever)
thanks again for this speedy class :)
whris
Hi,
first of all, thanks a lot, this is incredibly fast...
i've got simple and probably silly question, i can't figure out how to access an attribute with non default namespace for example xsi:type, of course
$attributes = $elem->attributes();
$ref = $attributes->{"xsi[type]"};
doesn't work...
any idea would be very welcome :)
thabks again for this fantastic work
chris
The text was updated successfully, but these errors were encountered: