Hacker News new | ask | show | jobs
by terangdom 5127 days ago
Maybe I misunderstood how the xml/xslt-paradigm works, but my idea was that you have a serverside api serving up raw data, and the display is controlled by some code on the clientside that can be easily customised. So the server could serve up something like <shoe> <images> <image>foo.com/x.jpg</image> <image>foo.com/y.jpg</image> </images> <description>This shoe is very advanced bla bla bla</description> <fancyintroanimation>foo.com/intro1.swf</fancyintroanimation> </shoe> <shoe> ....

and the client could use the default xslt if they were happy with that, and a custom otherwise.