[development] XML transformations using XSL

Farsheed tfarsheed at yahoo.com
Wed May 24 15:42:16 UTC 2006


Hi,

I'm doing some work involving multiple XML feed
generation from one data source.  Think SMIL, XSPF,
RSS, iTunes, PLS, M3U...all use a similar data source:
music playlists.

Currently each XML feed is generated with a callback
function written in PHP.  I was thinking the other
day, perhaps a better approach would be to provide all
the data in one XML file and then convert this file to
other XML schemas using XSL.  Does such an approach
make sense?  Anyone done something similar? The reason
I thought this  might be useful is because then it
becomes easy to support multiple XML schema's by
simply writing another XSL template and plugging it in
to some generalized transformation function.

-Farsheed

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the development mailing list