Why use XSLT in the first place?
Considering that a lot of the input and output formats we will be aiming at are not XML in the first place, and XSLT is not a very easily read and writte language. There is one major thought behind this: XSLT is maybe the only readily availeable and well understoof transformation language. Now I could well write the transformations (Normalisation stage) in pure PHP, maybe using DOM or native PHP data structures. But XSLT in this case acts a a kind of p-code. A PHP indipendeant way of expression the way the dat should be mapped from this to that.
- file it under 'quick remote input hack'
- a change in style
- stupid magically
- What the hell is this PeopleAggregator and should I care?
alles Bild, Text und Tonmaterial ist © Martin Spernau, Verwendung und Reproduktion erfordert die Zustimmung des Authors