It looks like the more general problem is: how do we map one/more of our values to one/more of their values in a general way?
Dave was talking about options. We may have option "foo" and "bar", and they represent that in their system as "foobar". The one-off way is to say
<xsl:when test="foo and bar">foobar</xsl:when>.
It might go the other way round, too, so that we want to say
<xsl:when test="foobar">foo|bar</xsl:when>.
You can just use a couple of many-to-many tables for that if you really want to keep those in a database instead of in an export. Doesn't seem too awful, but it might be best just to leave that in the xslt, honestly.
And really, I'm not terribly sure that the xslt isn't just the best place for all of this stuff. Hmmmm..
No comments:
Post a Comment