XSL has always been on my list of good ideas I never got to, but that is the way it's supposed to work.

On 5/24/06, Farsheed <tfarsheed@yahoo.com> wrote:
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