Re: PHP5, Tidy: node and parent node
| From: | Markus Fischer | Date: | Fri, 15 Jul 2005 11:34:44 +0000 |
| Subject: | Re: PHP5, Tidy: node and parent node | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218737@lists.php.net to get a copy of this message | ||
Markus Fischer wrote:
> I'm trying to figure out the parent of a node in tidy. As it seems to me
> there's no property/method available for this.
>
> I really want to avoid traversing the whole document and build the
> relation myself; this is getting pretty slow.
PHP5 currently doesn't feature this method although the tidy library
provides this. I've put together a patch if someone else is interested too.
- Markus