i have this script example:
while (count($xml->xpath('*[@id="' . $id . '"]/@id')) > 0)
{
$id = 'example_' . ++$x;
}
But if i check this with 1.000 Childrens in the element, i must wait more than a hour for an response.
How i could quicker check if a id exists?
Thank's in Advance for your Tip!