Log in

View Full Version : Valid or Invalid??



shachi
06-13-2006, 06:56 PM
Can anyone tell me if this is valid HTML ??



<web:binding selector="#msve_ScopingBar_container" type="Search.ScopeDock">
<web:defaults>
<web:param name="scope" value="local"></web:param>

<web:param name="queryboxid" value="what"></web:param>
<web:param name="mode" value="0"></web:param>
<web:param name="onLoadedCallback" value="VE_ScopingBar_onLoadCallback"></web:param>
</web:defaults>
<web:references priority="High">
<web:add src="http://search.live.com/search/searchbox.js?v=3" type="script"></web:add>
<web:add src="http://search.live.com/search/search.css?v=3" type="css"></web:add>
<web:add src="http://search.live.com/search/search.js?v=3" type="script"></web:add>
<web:add src="http://search.live.com/search/globals.js?v=3" type="script"></web:add>

<web:add src="http://search.live.com/search/scopes.js?v=3" type="script"></web:add>
<web:add src="http://search.live.com/search/strings.js?v=3&mkt=en-us&setlang=en-us" type="script"></web:add>
<web:add src="http://search.live.com/live/macro.aspx?v=3&op=installed_js" type="script"></web:add>
</web:references>
</web:binding>


Src: local.live.com/, virtualearth.com

Twey
06-13-2006, 07:21 PM
It's not HTML, full stop :)
It looks to be valid XML, at a glance.

shachi
06-13-2006, 07:40 PM
It's not XML. I found it on the source of the index page (http://www.local.live.com/) when I was researching on the Javascript post about mouse wheels. Twey: Didn't you tell me that our custom tags are not valid in HTML ?? Then how come microsoft use it?? :confused:
Or is it also patented??:p

Twey
06-13-2006, 08:00 PM
Well I can't see it on there...
I do see some references to VML, however, which is a form of XML that can be embedded into HTML pages.

Twey: Didn't you tell me that our custom tags are not valid in HTML ?? Then how come microsoft use it??
In this, at least, Microsoft aren't hypocritical: their pages very rarely validate. :) I think microsoft.com does now, but it was only a few months ago that they updated it.