Subject: RE: same layout on many XSL files but different content
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 1 Jul 2003 12:01:38 +0100
|
>
> 1. My first question is if I want to change the layout, I
> don't want to have to change each XSL file for each product.
> I've been unsuccessful at trying to use either xsl:import or
> xsl:include.
>
> 2. My second question is should I really be using "for-each"
> followed by "if match" if I only want to display 1 product's
> information per page?
>
> HERE IS ONE OF MY MANY XSL FILES - THEY ARE ALL THE SAME
> EXCEPT THE CATEGORY_ID CHANGES ON EACH ONE:
>
> <?xml version='1.0'?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
Two WD-xsl questions in two days - it's coming back to haunt us again.
This list is for XSLT, not for the 1998 Microsoft language WD-xsl which
became obsolete in 1999. You may get an answer to your question, but
it's unlikely, since very few people are now using WD-xsl.
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|