Sometimes the simple solution -- though certainly not the most elegant solution -- is by far the best. This seems to be especially true in the wonderful world of XSLT. Rather than figure out how to use one stylesheet that can take two differently formatted inputs to produce one output, I'm just going to write two nearly identical styleheets.
I suspect, though, that the best way to do this is to write a style sheet that takes input A and converts it into document B that conforms to the input needed for the second style sheet. That would mean that there would only be ONE style sheet to change when I want the look and feel of the finished product to be different.
I think I need to think this through again.
I suspect, though, that the best way to do this is to write a style sheet that takes input A and converts it into document B that conforms to the input needed for the second style sheet. That would mean that there would only be ONE style sheet to change when I want the look and feel of the finished product to be different.
I think I need to think this through again.
Tags: