tag:blogger.com,1999:blog-9053236856235261272024-02-21T06:44:22.164-08:00SomeTechieStuffhuman knowledge belongs to the world...!Kumar Shwetabhhttp://www.blogger.com/profile/10953412218741612379noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-905323685623526127.post-39861559883090870882008-11-13T08:13:00.000-08:002008-11-13T08:15:05.585-08:00Stopped Posting HereI have stopped posting on this blog. To read my latest postings please visit: <a href="http://kshwetabh.wordpress.com/">http://kshwetabh.wordpress.com/</a>Kumar Shwetabhhttp://www.blogger.com/profile/10953412218741612379noreply@blogger.com0tag:blogger.com,1999:blog-905323685623526127.post-53609858229329591212008-10-12T07:39:00.001-07:002008-10-15T12:24:40.498-07:00MindMapping - Organize data in your Brain<script src="http://site.answers.com/main/js/web_answertip.js?ANSW.nafid=8" type="text/javascript"></script><br /><span id="answerTipEnabled"></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_FCnDX7_WzUsZih7la8hd0PuUaNA9ZTNGuUogT3945LAjMLSpjcd_NUkl_nZwFL16C75rrTZ3CPleOnsVND5IyWVULvDurLTtF8xCSkUKzXpsLIhSipn1Fgvky4RkosfyTZpz5y476M4X/s1600-h/BrainParts.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_FCnDX7_WzUsZih7la8hd0PuUaNA9ZTNGuUogT3945LAjMLSpjcd_NUkl_nZwFL16C75rrTZ3CPleOnsVND5IyWVULvDurLTtF8xCSkUKzXpsLIhSipn1Fgvky4RkosfyTZpz5y476M4X/s400/BrainParts.png" alt="" id="BLOGGER_PHOTO_ID_5256810640467375826" border="0" /></a><br /><span style="font-size:180%;"><span style="font-weight: bold;">E</span></span>ssentialmindmapping.com says<br /><br />"<span style="font-style: italic;">Mind Mapping is one of the most effective, ‘brain-friendly’ ways for you to turn your unorganized, fleeting ideas and thoughts into a structured, visual “map.” A mind map resembles the visual aspects of a flow chart and the organization structure of an outline</span>."<br /><br />Facts say that we usually utilize 1%-10% (or more in case of exceptions) of our brain and that also only one part. Mind Mapping makes us to use both the parts of our brain resulting in becoming more organized, stay more focused, sharp memory and managed thoughts. Your are always in control and running your life by your own.<br /><br />Mind Maps naturally hook into your right brain, where creativity and intuition (also called Super Intelligence) comes into picture to help you.<br /><br /><span style="font-weight: bold;font-size:180%;" ><u>H</u></span><u>ow to do a Mind Map<span style="font-weight: bold;font-size:180%;" ></span></u><br />Use a blank piece of paper and pencil, work quickly without any pause, judgment or editing. <span style="font-weight: bold; color: rgb(51, 51, 255);">R</span><span style="color: rgb(51, 51, 255);">emember pausing, judging or editing encourages linear thinking and partial analysis and the aim in that case becomes to have perfect analysis before you finish</span>. The basic principle behind MindMapping is to think creatively in a non-linear fashion.<br /><br />Start with your central idea as the center of the map. Think up new ideas, action plans and strategies that correspond to it and impact it. <span style="font-weight: bold; color: rgb(51, 51, 255);">R</span><span style="color: rgb(51, 51, 255);">emember that MindMapping emphasizes on using keywords and one word identifiers in the nodes/ branches in the map</span>, rather than bogging the map with descriptive irrelevant information. Mind relies more on keywords that is self descriptive and relevant.<br /><br />MindMaps now days have been ported to computers also, not by scanning the hard copy and uploading but by abundance of specialized software (I use <a href="http://freemind.sourceforge.net/wiki/index.php/Main_Page">FreeMind</a> as its open source, free and provides all sort of features that I need. Although you might not find it as flexible as the hand drawing but that is a constraint with all the software available in market today).<br /><br />Comparison of hand drawn MindMap and the one drawn using FreeMind software:<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ_ObmBp8EHXS7IuuAlHpGBoaZTNe00YI-VcIPljk1pkzbdKQa87twEFnX41zbC2TCHRewvvcQ9RyB9ePTDHfNDy5l9fja_OUq1AwxFXrxDZnscIt8b8x4NqxeeTUPnl-LFVxhr31S_4pF/s1600-h/MindMapByHand.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 306px; height: 173px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZ_ObmBp8EHXS7IuuAlHpGBoaZTNe00YI-VcIPljk1pkzbdKQa87twEFnX41zbC2TCHRewvvcQ9RyB9ePTDHfNDy5l9fja_OUq1AwxFXrxDZnscIt8b8x4NqxeeTUPnl-LFVxhr31S_4pF/s400/MindMapByHand.jpg" alt="" id="BLOGGER_PHOTO_ID_5256809534888294690" border="0" /></a><br /><div style="text-align: right;"><br /></div><br /><span style="font-weight: bold;"><u><br /></u></span><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNODCPfVlk_zsl4oYqRaQ4pFaB0ToRGwceSB1fCflWErrC3WP4pxHqxm9-bVg_9CWqw_ZvDhAzhrZrDnQaJYtnvbBPN0q68PLdKI3kU61citd6dvENcwZBalf2RkR-ZpQAF77qePHm5OaI/s1600-h/UIOptimizationWHY.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 348px; height: 78px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNODCPfVlk_zsl4oYqRaQ4pFaB0ToRGwceSB1fCflWErrC3WP4pxHqxm9-bVg_9CWqw_ZvDhAzhrZrDnQaJYtnvbBPN0q68PLdKI3kU61citd6dvENcwZBalf2RkR-ZpQAF77qePHm5OaI/s400/UIOptimizationWHY.png" alt="" id="BLOGGER_PHOTO_ID_5256810090279137986" border="0" /></a><br /><span style="font-weight: bold;"><u><br /><br /></u></span><div style="text-align: left;"><span style="font-weight: bold;"><br /><u><br /><br /></u></span><br /><br />Now since we know the MindMap concept, let's see the main differences of MindMapping using hand drawing and using a software in terms of a MindMap diagram itself<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_IO57nE8KYcT3SbOIjb2ps6XulBCsHTBqv5fToHDRwv1j4LAP0qID824Wq1CSGpI2xdfi9U1oJsM4EvoBchE9d3k6EpTR1yET9wBmDoPTg4jziFrfqXPJbKoeeVn8t2k7n7-Z-BfJ4kw/s1600-h/HandVsSoft.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh_IO57nE8KYcT3SbOIjb2ps6XulBCsHTBqv5fToHDRwv1j4LAP0qID824Wq1CSGpI2xdfi9U1oJsM4EvoBchE9d3k6EpTR1yET9wBmDoPTg4jziFrfqXPJbKoeeVn8t2k7n7-Z-BfJ4kw/s400/HandVsSoft.png" alt="" id="BLOGGER_PHOTO_ID_5256811190786152162" border="0" /></a><br /><br /><br /><br /><br /><br /><br /><br /><a href="http://en.wikipedia.org/wiki/Tony_Buzan">Tony Buzan</a> (author and educational consultant, a big proponent of MindMap techniques) has defined some rules for effective Mind Mapping:<br /><ol style="color: rgb(51, 51, 255);"><li>Start in the center with an image of the topic, using at least 3 colors.</li><li>Use images, symbols, codes and dimensions throughout your Mind Map.</li><li>Select key words and print using upper or lower case letters.</li><li>Each word/image must be alone and sitting on its own line.</li><li>The lines must be connected, starting from the central image. The central lines are thicker, organic and flowing, becoming thinner as they radiate out from the center.</li><li>Make the lines the same length as the word/image.</li><li>Use colors - your own code - throughout the Mind Map.</li><li>Develop your own personal style of Mind Mapping.</li><li>Use emphasis and show associations in your Mind Map.</li><li>Keep the Mind Map clear by using radial hierarchy, numerical order or outlines to embrace your branches.</li></ol>MindMapping Software and Online Tools:<br /><ul><li><a href="http://freemind.sourceforge.net/wiki/index.php/Main_Page">FreeMind</a>: This is a good Open Source, free software that provides great features to create Mindmaps.</li><li><a href="http://www.bubbl.us/">bubbl.us</a>, is a great site providing online MindMapping facility with cool node bubbles. Experiment with MindMaps first here if you want to create one yourself. You need not even login into this site to create a MindMap. Just click on "Start Brainstorming" and you are all set to fly with your imagination.<br /></li></ul><br /><u>References:</u></div><ul><li><a href="http://www.mind-mapping.org/mindmapping-and-you/basic-introduction-to-mindmapping.html">Basic introduction to mindmapping</a></li><li><a href="http://en.wikipedia.org/wiki/Mind_map">Wiki- MindMap</a></li><li><a href="http://freemind.sourceforge.net/wiki/index.php/Main_Page">FreeMind</a></li></ul>____________________________________________________________<br /><br /><!-- TopBlogArea.com START --><br /><a href="http://www.topblogarea.com/technology/" title="Technology blogs"><img border="0" src="http://www.topblogarea.com/tracker.php?do=in&id=53497" alt="Technology blogs"></a><br /><noscript><a href="http://www.clysma.com/arts-and-humanities/">arts and humanities Catalog</a></noscript><!-- TopBlogArea.com END -->Kumar Shwetabhhttp://www.blogger.com/profile/10953412218741612379noreply@blogger.com0tag:blogger.com,1999:blog-905323685623526127.post-87746135143499037882008-10-12T02:22:00.000-07:002008-10-15T11:07:04.722-07:00Fiddler: A Powerful Web Debugger<script src="http://site.answers.com/main/js/web_answertip.js?ANSW.nafid=8" type="text/javascript"></script><span id="answerTipEnabled"></span><br /><span style="font-size:180%;"><span style="font-weight: bold;">W</span></span>hat is Fiddler?<br />Fiddler is a utility that logs all HTTP request/response between your browser and the Web Server. Fiddler allows you to inspect all HTTP Traffic, set breakpoints, and "fiddle" with incoming or outgoing data.<br /><br /><span style="font-size:180%;"><span style="font-weight: bold;">W</span></span>hat not is Fiddler?<br />It’s not a kind of debugger that will let you trace into the code line by line during runtime. It will not highlight any js/jsp/java errors.<br /><br /><span style="font-weight: bold;font-size:180%;" >W</span>hy use Fiddler?<br /><ul><li>Dynamically read/validate/edit data going out of the browser even before they reach the java files (formbeans, servlets etc). (Basically coming out of script files JS/JSP) </li><li>Change js/jsp code on the fly before it’s rendered by the browser. </li><li>Continue working on the application even if the database is down using stubs. </li><li>Validate your fix in CIT/SIT environment directly, without waiting for the environment migration to happen. </li><li>Server Side checks can be validated/tested skipping the client side validation (no need to disable client-side checks; eg: required field, max field size, field type, etc) </li><li>Find and replace or put breakpoints for any search string dynamically in the request/response body. </li><li>It works on HTTP request/response and is no way specific to js/jsp/java (will work with anything and everything if communication is happening in terms of HTTP request)</li></ul><span style="font-size:180%;"><span style="font-weight: bold;">I</span></span>nstalling Fiddler<br />Download and install latest version of Fiddler from this link: <a href="http://www.fiddlertool.com/Fiddler2/version.asp">http://www.fiddlertool.com/Fiddler2/version.asp</a><br />Please note, it requires MS .NET Framework 2.0 to run.<br /><br /><br /><span style="font-weight: bold;font-size:180%;" >F</span>iddler operates at this layer<br />Fiddler intercepts the request and response before and after it reaches the Web-Server. It sits in between the browser and the Web-server.<br /><div style="text-align: center;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX1paxAvpEVvlSVInam2Zd4-EGSkinHBUwtOH36de48uRueGaQk_KFwMODW30xydadIyD21rk7QJJLuEb-JCOpR20TzZL8Yjrd4UgKKWH3MAlrT9n-480ILcsTBas8Te8-gDumsB2KcgPY/s1600-h/FiddlerLayer.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX1paxAvpEVvlSVInam2Zd4-EGSkinHBUwtOH36de48uRueGaQk_KFwMODW30xydadIyD21rk7QJJLuEb-JCOpR20TzZL8Yjrd4UgKKWH3MAlrT9n-480ILcsTBas8Te8-gDumsB2KcgPY/s320/FiddlerLayer.jpg" alt="" id="BLOGGER_PHOTO_ID_5256812131894925778" border="0" /></a></div><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><span style="font-size:180%;"><span style="font-weight: bold;">R</span></span>unning Fiddler<br />There are two ways to launch Fiddler:<br /><ul><li>Option 1: Fiddler installation by default adds an icon in the command bar of the IE browser</li><li>Option 2: Open IE browser --> Tools Menu --> Fiddler2</li></ul><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5AXnCQV2fB5u7UZiRiS8UsMVWYbiwyV8MCgYPbQ82cq0yH32Pj73nVF7l10z05mxwtbl5s8a75AV8ttSfqthoSGB8h4ArMb0h97ff4OHY-s-1_EPTWA99DJBDsxhi7KU0YMqL4i_k_NMu/s1600-h/RunningFiddler.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5AXnCQV2fB5u7UZiRiS8UsMVWYbiwyV8MCgYPbQ82cq0yH32Pj73nVF7l10z05mxwtbl5s8a75AV8ttSfqthoSGB8h4ArMb0h97ff4OHY-s-1_EPTWA99DJBDsxhi7KU0YMqL4i_k_NMu/s320/RunningFiddler.jpg" alt="" id="BLOGGER_PHOTO_ID_5256136314677929666" border="0" /></a><br /><br /><br /><br /><br /><br /><span style="font-weight: bold;font-size:180%;" >F</span>iddler User Interface:<br />Fiddler User Interface consists of the following major sections (which is in the scope of this discussion):<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguk_zU7SCfV6u02SAVgrJyDtdFGcsOQn0gVIb4W5eVsY3GCG55ArtFVCvDTsWOtuxD7WU5ZhhIdbGxDFP80qpKxUDbjtNhkTqOoeBqpyB7_DVxHgQY7AZ7VAMUUxtP0Rwz1uGXl6Gw_vDH/s1600-h/FiddlerUI.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguk_zU7SCfV6u02SAVgrJyDtdFGcsOQn0gVIb4W5eVsY3GCG55ArtFVCvDTsWOtuxD7WU5ZhhIdbGxDFP80qpKxUDbjtNhkTqOoeBqpyB7_DVxHgQY7AZ7VAMUUxtP0Rwz1uGXl6Gw_vDH/s320/FiddlerUI.jpg" alt="" id="BLOGGER_PHOTO_ID_5256132047202010562" border="0" /></a><br /><u>HTTP Session List / Fiddler Logs</u><br />This area contains all the HTTP traffic listing happening between the browser and the Web Server. For each request made to the Server, there is a log/record present in this section. The logs may contain requests made for any of the following file types (js/jsp/htm/gif/jpeg/ico, etc).<br /><br /><u>Session Inspector Tab: </u><br />Contains information specific to the selected Fiddler Log.<br /><ul><li><span><u>Request Section</u></span></li>Reveals the request details made to the server for the session/log selected. All the modifications to the request are made in this section.<br /><span><li><span><u></u></span><u>Response Section<span></span></u></li></span>Reveals the response details from the server for the session selected. All the modifications to the response are made in this section.<br /></ul>The Session Inspector contains various sub-tabs for each Request and Response section.<br /><ul><li><u>Headers</u><br /></li><span style="font-style: italic;"> </span><span>Displays the request header information</span><br /><li><u>TextView</u><br /></li> Displays the request/response body contents and is the area that will be used most for dynamic request/response fiddling.<br /><li><u>WebForms (for Request only)</u><br /></li><span> Displays the parameters sent to the server in the form of WebForms. This sub-tab is available only for the request section (and not responses)</span><br /><li><u>Raw</u><br /></li> Displays the full request/response in the raw format containing the header and body.<br /><li><u>XML</u><br /></li> Displays the request and responses in the form of xml/dom and makes parsing through the request/response easier. It is available only if the request/response can be structured in the form of xml/dom, else will be blank.<br /><br />There are other optional sub tabs that can be added to Fiddler through the <a href="http://www.fiddlertool.com/Fiddler2/extensions.asp">Addon Installation</a>.<br /></ul><div style="text-align: left;"><span style="font-size:180%;"><span style="font-weight: bold;">C</span></span>ustomizing Fiddler<br />Fiddler provides high degree of customization/extensibility through a customRules scripting file (customRules.js).<br /><br />Some examples of Fiddler customization:<br /><ul><li>Put breakpoint if any given string match is found in the requests/response body.</li><li>Put breakpoint if any given string match is found in the request/.response URL.</li><li>Add a sub-menu item into the Fiddler Rules and Tools menus.</li><li>Add an item in the context menu (right mouse click)</li><li>Make Fiddler respond with a local file (js/htm/css, etc) for the request made to the server.</li><li>Make Fiddler responds with a local stub for a request made to the server. This is explained in the section “Generating Fiddler Response Stub”</li><li>Make the items (js/htm/css,etc) non cacheable by the browser so that the files on the server/updated ones are always displayed..</li><li>,etc... the list is never ending.</li></ul>I will soon be posting an article on "<b>Customizing Fiddler</b>" using <u>customRules.js</u> scripting file.<br /><br />____________________________________________________________<br /></div>Kumar Shwetabhhttp://www.blogger.com/profile/10953412218741612379noreply@blogger.com0tag:blogger.com,1999:blog-905323685623526127.post-75222941346884034132008-10-12T01:38:00.000-07:002008-10-22T18:57:03.195-07:00Coming Soon....<div xmlns="http://www.w3.org/1999/xhtml"><ul><li>Customizing Eclipse IDE</li><li>Java Debugging in Eclipse IDE</li><li>JS Debugging in Firebug<br /></li><li>Open Source JS Logging frameworks (a heads up)<br /></li></ul><br /><br /><br />____________________________________________________________</div>Kumar Shwetabhhttp://www.blogger.com/profile/10953412218741612379noreply@blogger.com0tag:blogger.com,1999:blog-905323685623526127.post-12777301217513484682008-10-11T23:57:00.000-07:002008-10-15T11:07:22.976-07:00XSL Transformation (XSLT) Made Easy<script src="http://site.answers.com/main/js/web_answertip.js?ANSW.nafid=8" type="text/javascript"></script><br /><span id="answerTipEnabled"></span>Extensible Stylesheet Language Transformations (<a href="http://www.w3.org/TR/xslt">XSLT</a>) is a language for transforming XML documents into other XML documents.<br /><br />Some times testing and debugging XSLT stylesheets can be a complicated and time-consuming process. Orangevolt Eclipse XSLT plug-in provides an easy and faster way to solve the above problem.<br /><br /><u><b>F</b>eatures:</u><br /><ul><li>XSL/XML editors for editing inside Eclipse IDE<br /></li><li>Allows XML + XSL transformation (no need to run it from the application)</li></ul><u><span style="font-weight: bold;">R</span>equirement:</u><br /><ul><li>Eclipse IDE Version: 3.3 (or higher)</li><li>Java 2 Platform Standard Edition V1.5 or later<br /></li><li>Eclipse Web Tools Platform (WTP) V2.0.1 or later; you can download the all-in-one package or download the following prerequisites:<br /><ul><li>Eclipse Modeling Framework SDK V2.3.1 or later<br /></li><li>Java EMF Model SDK V1.2.4 or later<br /></li><li>Graphical Editing Framework V3.3.1 or later<br /></li></ul></li></ul><u><span style="font-weight: bold;">I</span>nstallation:</u><br /><ul><li>Download the plugin archive from: http://sourceforge.net/projects/eclipsexslt</li><li>Extracting the zip will create two directories: features and plugins (containing the required classes)</li><li>Copy these folder into your eclipse home directory: (ie. like: C:\Eclipse\)</li><li>Start Eclipse IDE with clean option. (eg. C:\Eclipse\eclipse.exe –clean)</li><li>In the Eclipse IDE Preferences, you should be able to see Orangevolt XSLT as Tree node. (Window --> Preferences)</li></ul><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cJTv7RaQvE_6erSQ5FLVLCTF6KHuYKpibNKzEvN8S5e3TzRN3pqdHcx1zoKUfIxNabsfN7fU-s1Q3DnxRFw5oWPu_9p9k6m4lfbbUKnHzS5kDKoLmNJ170wU759avTSe9nFjJQz5ElSD/s1600-h/OrangeVoltXSLTrans.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cJTv7RaQvE_6erSQ5FLVLCTF6KHuYKpibNKzEvN8S5e3TzRN3pqdHcx1zoKUfIxNabsfN7fU-s1Q3DnxRFw5oWPu_9p9k6m4lfbbUKnHzS5kDKoLmNJ170wU759avTSe9nFjJQz5ElSD/s320/OrangeVoltXSLTrans.jpg" alt="" id="BLOGGER_PHOTO_ID_5256164294469786194" border="0" /></a>This step confirms that the plugin has been installed successfully.<br /><br /><u><span style="font-weight: bold;">C</span><span>onfiguring </span><span>and </span><span style="font-weight: bold;">R</span><span>unning</span>:</u><br /><ol><li>Right-click on any XSL and select "Open Run Dialog" option.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Hg5VWwPzNUMSJriYYTkXYITcRDRecaw705-rNQ98BMElvfb_Rk7Z_0kjhHNXApKxjA_zEbESgjMllTvA4FWcQjhlhgk1kWjEPJehfVPytS7523FFBkxWwL5zsCRu5bn5Ua6J90Os0Qhp/s1600-h/xslRunAsDlg.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Hg5VWwPzNUMSJriYYTkXYITcRDRecaw705-rNQ98BMElvfb_Rk7Z_0kjhHNXApKxjA_zEbESgjMllTvA4FWcQjhlhgk1kWjEPJehfVPytS7523FFBkxWwL5zsCRu5bn5Ua6J90Os0Qhp/s320/xslRunAsDlg.jpg" alt="" id="BLOGGER_PHOTO_ID_5256171102213783298" border="0" /></a></li><li>On the "Run" screen, double click on "Orangevolt XSLT" tree item to create a new launch configuration. <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwNy858ATMnumoNr2FBwqQxCITqz60LHBiKM8x5a-tvMXA74EW5MUbX5gg0ViJNRkRfScGcyRMr_BlcmJZBd6D5Ir_wsOOebuSdlgWYiEraCn93aVNG57kPlCnp3nxXp9P5kBVB0tILHOB/s1600-h/runningXSLT.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwNy858ATMnumoNr2FBwqQxCITqz60LHBiKM8x5a-tvMXA74EW5MUbX5gg0ViJNRkRfScGcyRMr_BlcmJZBd6D5Ir_wsOOebuSdlgWYiEraCn93aVNG57kPlCnp3nxXp9P5kBVB0tILHOB/s320/runningXSLT.jpg" alt="" id="BLOGGER_PHOTO_ID_5256170290724228226" border="0" /></a></li><li>Configure the following: <ol><li>Project: The name of the project that you have created inside eclipse. Select the Project that contains the XSL and response xml you want to transform).<br /></li><li>Source: Specify the response xml file.<br /></li><li>StyleSheet: Specify the xsl file.<br /></li><li>Target File: Specify the output xml (this is optional, if not specified will overwrite the response xml document with the output).</li></ol></li><li>Click on "<b>Run</b>" button. It will run and transform the response xml into the output xml in the same directory where xsl is placed. You might need to refresh your Eclipse navigator view to see the created output document.</li><br /></ol><u><b>Output XML</b></u><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-jskL8XR2sYcNvKgKefVWqgVdP67v_UyQSfIWXZ45d2CDMs-3cZRgdtM93sIKcMJCaHPPy3EXLMm5CwzVC_leuUPM_sC54Wf5-7UKkswTQgp46APE6L1ZKeU4AhVVLPSHVGIDmYCcqmkj/s1600-h/outputXSLTXML.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-jskL8XR2sYcNvKgKefVWqgVdP67v_UyQSfIWXZ45d2CDMs-3cZRgdtM93sIKcMJCaHPPy3EXLMm5CwzVC_leuUPM_sC54Wf5-7UKkswTQgp46APE6L1ZKeU4AhVVLPSHVGIDmYCcqmkj/s320/outputXSLTXML.jpg" alt="" id="BLOGGER_PHOTO_ID_5256173203644905026" border="0" /></a><br /><br /><br /><br /><b><u>References:</u></b><br /><ul><li><span style="font-size:100%;"><a href="http://www.ibm.com/developerworks/opensource/library/os-eclipse-orangevolt/index.html">IBM Developerworks</a></span></li><li><span style=";font-family:Garamond;font-size:12;" ><span style=";font-family:georgia;font-size:100%;" >Complete documentation on configuration and other features of this plugin visit:</span><a href="http://eclipsexslt.sourceforge.net/"><span style="text-decoration: none;"><span style="font-size:100%;"><br /><span style="font-family: georgia;">http://eclipsexslt.sourceforge.net/</span></span><br /></span></a></span><p></p></li></ul>____________________________________________________________Kumar Shwetabhhttp://www.blogger.com/profile/10953412218741612379noreply@blogger.com0tag:blogger.com,1999:blog-905323685623526127.post-72106090623587030722008-10-11T23:30:00.000-07:002008-10-15T11:08:07.035-07:00Install and Run Macros in Textpad Editor<script src="http://site.answers.com/main/js/web_answertip.js?ANSW.nafid=8" type="text/javascript"></script><br /><span id="answerTipEnabled"></span><div style="text-align: left;font-family:georgia;"><span style="font-size:130%;"><span style="font-size:11;"><span style="font-size:100%;"><span style="font-size:85%;">Textpad is a Windows based Text Editor like "Notepad" with more advanced features.</span><br /><br /></span></span></span></div><div style="text-align: left;font-family:georgia;"><div style="text-align: left;"><span style="font-size:130%;"><u><span style="font-weight: bold;">I</span>nstallation</u></span><br /></div><ol><li>Unzip the macro and copy it in the default macro location for your Textpad installation.<br /></li><li>To know what is the default macro location for your textpad installation:<br />(the default location is C:\Documents and Settings\UsrName\Application Data\Helios\TextPad\5.0)<br /><ol><li>Launch Textpad.<br /></li><li>Goto Configure --> Preferences --> Folders<br /></li><li>There you can see Macros as a FileType. The location against this FileType is the default location for Macros.</li></ol></li><li>Copy the unzipped macro file (Step 1) at this location.<br /></li><li>Restart Textpad editor and goto Configure --> Preferences --> Macros<br /></li><li>You can see your macro in the "Macros Available" box.<br /></li><li>Select your macro and click "Add", "Apply", "Ok".<br /></li><li>To verify the macro installation goto "Macros" menu. You should be able to see your macro as a submenu item there.</li></ol>You are done with your macro installation.<br /><br /><span style="font-size:130%;"><u><span style="font-weight: bold;">R</span><span>unning</span></u></span><br /><br /><div style="text-align: left;"><ol><li>Open the file on which you want to run the macro.</li><li>Select "Macros --> yourMacro". This will run the macro for the configured range (you can run a macro:</li><ul><li>on a selection<br /></li><li>on the complete file<br /></li><li>etc..</li><br /></ul></ol>____________________________________________________________</div></div>Kumar Shwetabhhttp://www.blogger.com/profile/10953412218741612379noreply@blogger.com1