Geoff Howard wrote:

GOT IT!!!

What ever node type this should be: <![if !IE]> <![endif]>
this is the reason for the exception. Why the explicite XPath works? I don't know ... At other places in the same file these constructs are placed in comments and don't disturb: <!--[if IE]><![endif]--> To which language do these constructs belong?


You mean you don't use the "Downlevel-revealed Conditional Comment" and the "Downlevel-hidden Conditional Comment" every day? When I first ran into this I was quite confused but google came to the rescue:
http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp

No, never - and I'm sure I will never!! If I need browser specific code, I will use Cocoon with browser selector and XSLT :)


Basically, IIRC it's a microsoft extension to html which is a conditional evaluated by the browser. The two have different meanings that I haven't quite taken the time to grasp. Do they use it on every page? How about switching to google or cnn?

Don't know if on every page, but they *do* use it and this can always break our sample. I have already a simple list for http://www.theserverside.com running. (Topnews is Cocoon 2.1 at the moment :) If there is any interest, I can style it tomorrow. Of course we can switch to any news site, maybe others have better suggestions? Apache sites are to boring for this purpose, aren't they?


Joerg

Reply via email to