Referencing the default namespace in XSLT
This is a quick tip that I should have probably already known but figured out with a friend today. He was working on an XML file that he needed to transform that had several namespaces attached which had their own aliases as well as a default namespace with no alias:
xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#”
xmlns:dc=“http://purl.org/dc/elements/1.1/”
xmlns:sy=“http://purl.org/rss/1.0/modules/syndication/”
xmlns=“http://purl.org/rss/1.0/”>
In his XSLT, the XPATH that referred to nodes in the aliased namespaces were working correctly but the references to nodes under the default (unaliased) namespace were not.


















Well, the grand Christmas 2005 hunt for an XBox 360 is finally over and I am victorious. The prey is sitting on the bench in my hall. And it will soon be in the hands of some happy local family via Ebay. Why would I give it up? Well, TAD got one too and after what I’ve gone through to get one of these things I’m going to thoroughly enjoy the small profit we’ll be making on it.