Possible Duplicate:
How do I select multiple sets of attributes within an XML document using XPath?
My HTML code:
<table width="100%" cellpadding="6" cellspacing="0">
i want to select this table by specifying not only the width but also with cellpadding and cellspacing..
I am using this PHP code:
$query = $xpath->query('//table[@width|@cellpadding|@cellspacing]');
but it still displays the whole html source instead of what i want..
help me please..