Ivan Porto Carrero

IO(thoughts) flatMap (_.propagandize)



Intellisense for Atlas Xml Script

I’ve come across a french guy’s blog who has created an intellisens xsd generator for the atlas 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 : http://blogs.developpeur.org/cyril/archive/2006/04/29/Atlas_Charge_un_fichier_xml_script_externe_dans_une_application_ATLAS_grace_a_Ajax.aspx

The english explanation :
link to your atlas xml file like this :

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);


To top