Hi I have this xpath query:
descendant-or-self::link
and this html code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/elements.css">
<title>Page</title>
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6.css" />
<![endif]-->
</head>
etc...
What do I need to add to this query to make it also match the commented <link>
.
This is a continuation of this question: http://stackoverflow.com/questions/3879108/php-domdocument-alter-conditional-comments