Hi Paul:
My understanding is that the 'href' attribute of 'xsl:import' can't
take a parameter, so I can't pass in something system-specific from
the Makefile (which would have been clumsy but sufficient). Is there
an XSL solution to this problem?
If you can send in something "system-specific" from the Makefile to the
XSL, then all you need to do is use that parameter you were intending
for the <xsl:import> and use instead in an <xsl:choose>. For example:
<xsl:choose>
<xsl:when test="$Machine = 'FreeBSD'>
<xsl:import ...... />
</xsl:when>
<xsl:when test="$Machine = 'WinXP'>
<xsl:import ...... />
</xsl:when>
<xsl:otherwise>
<xsl:import ...... />
</xsl:otherwise>
</xsl:choose>
This might do the trick in your top-level custom stylesheet.