note 87507 added to class.domnode
| From: | brianwildwoodassociates dot info at osu1 dot php dot net | Date: | Mon, 08 Dec 2008 07:27:01 +0000 |
| Subject: | note 87507 added to class.domnode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-147902@lists.php.net to get a copy of this message | ||
This class has a getAttribute method.
Assume that a DOMNode object $ref contained an anchor taken out of a DOMNode List. Then
$url = $ref->getAttribute('href');
would isolate the url associated with the href part of the anchor.
----
Server IP: 209.41.74.194
Probable Submitter: 67.185.40.161
----
Manual Page -- http://www.php.net/manual/en/class.domnode.php
Edit -- https://master.php.net/note/edit/87507
Del: integrated -- https://master.php.net/note/delete/87507/integrated
Del: useless -- https://master.php.net/note/delete/87507/useless
Del: bad code -- https://master.php.net/note/delete/87507/bad+code
Del: spam -- https://master.php.net/note/delete/87507/spam
Del: non-english -- https://master.php.net/note/delete/87507/non-english
Del: in docs -- https://master.php.net/note/delete/87507/in+docs
Del: other reasons-- https://master.php.net/note/delete/87507
Reject -- https://master.php.net/note/reject/87507
Search -- https://master.php.net/manage/user-notes.php