CDF: The common format you've never heard of
Posted November 30th, 2007 by kurt.cagleQuick! Do you use the Compound Document Format?! You, know, CDF ... surely you use CDF, right?
Chances are pretty good that you have no idea about what I'm talking about. Everyone knows Microsoft's word document format and Adobe's PDF, chances are pretty good that if you're reading this on XML.com you've heard of ODF and OOXML, especially after the fairly rancorous discussions about ISO status for these two formats. Yet CDF, hmmmm ... that's a rough one. Didn't it belong to Corel, once upon a time?
- kurt.cagle's blog
- Login or register to post comments
- Read more
Bridging XML, E4X and JSON
Posted October 13th, 2007 by kurt.cagleEfforts have been underway recently to develop a schema language for JSON, analogous to the XML Schema Definition Language (XSD) or RelaxNG languages in the XML arena. Similarly, a JSON transformation language is being proposed and bandied about in various AJAX circles as web2 developers attempt to take the best of what XML has to offer and recast it from the angle-bracket modality to the braced modality.
- kurt.cagle's blog
- Login or register to post comments
- Read more
What is the Metaphorical Web? - A Statement of Purpose
Posted September 23rd, 2007 by kurt.cagleI was asked, recently, why I settled on the name Metaporical Web for my site and blog. This is probably as good a statement of purpose as any I can think of, so if you are curious as to what exactly motivated me to name it this, please read on ... (warning, this may take a while) ...
SynOA What? Syndicated Application Architectures Come of Age
Posted September 17th, 2007 by kurt.cagleIn a recent interview with Rohit Khare, Director of CommerceNet Labs, Jon Udell may have been responsible for introducing a new meme into the noosphere that will be as important in its time as AJAX was in 2004.
- kurt.cagle's blog
- Login or register to post comments
- Read more
Killing Cash or Screwing the Customer
Posted September 13th, 2007 by kurt.cagleA few days ago, Bank of America announced that they were raising ATM fees to non-customers to $3 in about 70% of their ATMs. No doubt this is well within their rights, but because of its unique position, for BofA to raise their fees basically gives carte blanche to most banks to raise theirs an equal amount (or more).
- kurt.cagle's blog
- Login or register to post comments
- Read more
C++ and the RESTful Web
Posted September 13th, 2007 by kurt.cagleI have a confession to make. I've never had a formal class in C++ (though I've written quite a few). At no point did I ever get a professor spend several days trying to make me understand the significance of *,**,*void, &, ., -> or all those other rather strange glyphs that make reading C++ much like trying to understand the Chicago Manual of Style with 95% of the words removed.
- kurt.cagle's blog
- Login or register to post comments
- Read more
House Passes Major Patent Reform
Posted September 8th, 2007 by kurt.cagleOn Sept. 7, the US House of Representatives passed sweeping legislation to overhaul the US patent system by a vote of 220 to 175. The Patent Reform Act of 2007 (H.R. 1908), authored by Rep. Howard Berman, D-Calif., seeks to try to restore some balance to the patent system in the face of radical changes in information technology by introducing a number of changes increasingly sought by the software industry in particular:
- kurt.cagle's blog
- Login or register to post comments
- Read more
Microsoft Office Open XML Fails to Win ISO Vote
Posted September 5th, 2007 by kurt.cagleIn the first few days of September, just as kids were beginning to head back to school, something rather remarkable happened: Microsoft lost its hegemony. In a vote by the various members of the ISO standards committee, managing only to come up 53% of the votes it needed to fast track the Office Open XML format for consideration as an ISO standard.
- kurt.cagle's blog
- Login or register to post comments
- Read more
RESTful Web Services: A Review
Posted September 4th, 2007 by kurt.cagleEvery so often, you come across a book that not only informs, but challenges your perceptions, leaving you seeing things in a way that you would not have before you started reading. I have a fair number of science fiction books that I've read over the years that left me in the major paradigm shift state after reading it (usually at about three in the morning), but its been rare in recent years that I've found a tech book that has done so.
- kurt.cagle's blog
- Login or register to post comments
- Read more
SVG Opacity
Posted September 3rd, 2007 by kurt.cagleDear Kurt, I really like your website. It's done nicely.
I already have a question.
I want to toggleOpacity of a group when clicking on a single element in the group.
The code goes like this
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="800px" height="600px" viewBox="0 0 0 0" enable-background="new 0 0 0 0"
xml:space="preserve">
<script type="text/javascript">
<![CDATA[
var SVGDocument = null;
var SVGRoot = null;
function ToggleOpacity(evt, targetId)
{
var newTargets = evt.target;
if (targetId)
{
newTargets = SVGDocument.getElementsById(uschi);
}
var newValue = newTargets.getAttribute('opacity');
if ('0' != newValue)
{
newValue = '0';
}
else
{
newValue = '1';
}
newTargets.setAttribute('opacity', newValue);
if (targetId)
{
SVGDocument.getElementsById(uschi).setAttributeNS(0, 'opacity', '1');
}
}
]]>
</script>
<a id="uschi" onclick="ToggleOpacity(evt)" opacity="1">
<rect x="50" y="50" width="50" height="200" fill="yellow" stroke="navy" stroke-width="10" />
<rect x="150" y="50" width="60" height="200" fill="red" stroke="navy" stroke-width="10" />
</a>
</svg>
Thank you
