Geeks With Blogs

Ivan Porto Carrero Placeholder.Add("Really Cool Stuff");

I've come across a french guy's blog who has created an intellisens xsd generator for the The 2.0 atlas framework framework.

He says it's not perfect but I'll take whatever I can get that saves me from writing full words. It's not perfect in the sense that it doesn't show you if something is allowed there or not.

The link to the article about the intellisense generator:

To install the xsd just extract this file to C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas

The next step is to separate the xml script from your aspx page so it doesn't look so cluttered anymore. Also the intellisense will only work in the xml editor.  The same guy has written another post on how to do just that.

The link to his article :

The english explanation :
link to your The 2.0 atlas framework xml file like this : <link type="text/xml-script" href="DynamicLoad.atlas" />

And next add some javascript to the page :

     var linkElements = document.getElementsByTagName('link'
     for (var i = 0; i < linkElements.length; i++){
linkElement = linkElements[i]; 
if (linkElement.type== 'text/xml-script' && linkElement.href){
var request = new Sys.Net.WebRequest();
Sys.MarkupParser.processDocumentScripts(Sys.Application.getMarkupContext(), e.get_xml().childNodes, null);



Posted on Sunday, May 21, 2006 1:24 PM .NET 2.0 , Atlas | Back to top

Copyright © Ivan Porto Carrero | Powered by: