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>
Posted by Devang Gandhi on February 19th, 2008
Microsoft plans to wage a proxy fight against Yahoo. Microsoft sees a real benefit in acquiring Yahoo – a benefit large enough to make it deviate from its two fundamental policies:
- Microsoft doesn’t buy large corporations
- Microsoft doesn’t go against the will of the other company, if it doesn’t want to get bought.
The way proxy fight works is that Microsoft will request Yahoo investors to remove Yahoo’s board of directors. Yahoo, on the other hand is apparently seeking other options to counter the possible hostile takeover.
Posted by Devang Gandhi on February 11th, 2008
Starbucks has partnered with AT&T to provide free wi-fi access. However, the two hours a day free wi-fi is only for customers who have a Starbucks gift card. It is like prepaying for your coffee but you get free internet too. The AT&T customers will enjoy unlimited access at these starbucks hotspots.
For those who do not want to use a starbucks card, the price is $4 for a two-hour session (T-Mobile charged $6 per hour or $10 per day). I wonder if AT&T will replace T-Mobile hotspots at the hundreds of airport across the country. One more step in the right direction (of making internet free).
Posted by Devang Gandhi on February 5th, 2008
It’s been four days since Microsoft’s bid to acquire Yahoo and no real response from Yahoo yet. As Jim Cramer says, Yahoo seems arrogant. Google’s senior VP David Drummond has already voiced strong concerns over what could be Microsoft’s attempt dominate the Internet that the way it does with the PC.
On the flip side, Microsoft and Yahoo together could pose serious competition to Google, who has long enjoyed the lack of it. Competitive markets have always been beneficial to the customers and it is time that online advertising and search become competitive.
Posted by Devang Gandhi on February 1st, 2008
You can use wordpress as a simple Content Management System for a non-blog website. That’s what I am doing on one of my other websites. But I wanted to enable comments on my static pages. I figured just by enabling “Allow comments” under “Discussion” did not work. Then I found this wordpress.org thread
All you need to do is edit the “Page Template” and insert the following code
<?php if ((‘open’ == $post-> comment_status)) { comments_template(); } ?>
somewhere in between the following two lines.
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php endwhile; endif; ?>
Recent Comments