The power of XSL Transforms
on September 5, 2008 with No CommentsI began working on ZSDKP a few weeks ago and figured out that a key feature of the application would be its ability to scrape items from other sites like Wowguru and Allakhazam. The basic premise is that these sites provide their item XML data and I can just parse it to inject into my database. I would have loved nothing more than to use Wowhead but they do not give you a link (that I can find) to their XML data.
However, I quickly encountered a key problem: I wanted to use one parsing algorithm for all sites that would create the item based on my own field names. This meant I was susceptible to a key pitfall: wowguru and allakhazam use different XML structures from each other which is, additionally, different from the scheme I use.
Enter: XSL Transforms!
