How to remove namespace attribute from XML root element using XSLT?

Posted by Devang Gandhi on February 25th, 2008

There are occasions when we need to remove the namespace attribute from the XML root element before sending it to the receiving application. This can be done using XSL transform as shown below. If you are already doing an XSL transform just include the following code in that XSLT.

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" version="1.0" encoding="UTF-8" />
        <xsl:template match="*">
                <xsl:element name="{local-name()}">
                        <xsl:apply-templates select="@* | node()"/>
                </xsl:element>
        </xsl:template>
</xsl:stylesheet>
 

Crontab

Posted by Devang Gandhi on January 10th, 2008

Cron is a unix utility that allows tasks to run automatically in the background at the configured intervals. Crontab is a tool used to schedule cron jobs. Some great resources on setting up cron jobs.

crontabrocks
adminschoice

How to terminate weblogic integration (WLI) process instances?

Posted by Devang Gandhi on November 9th, 2007

I had a situation where I had a stateful wli process running, although in the wliconsole it showed that it was terminated. Restarting the server did not terminate it. Since it was stateful, its state was stored in the database. I figures the only way to terminate this process is to undeploy the application and redeploy it.

WAMP Server

Posted by Devang Gandhi on May 25th, 2007

How about an automated installer for Apache, PHP, MySql and phpMyAdmin on Windows? and above all it’s a free download.


Copyright © 2007 Devang Gandhi. All rights reserved.