Re: [xsl] Combining stylesheets for baseclass-subclass type documents

Subject: Re: [xsl] Combining stylesheets for baseclass-subclass type documents
From: "Daniel Brockman" <daniel.brockman@xxxxxxxxxxxxxxxx>
Date: Mon, 15 Apr 2002 00:39:14 +0200
>Can't you just include a.xsl in b.xsl? Call a on it's own and b includes 
>a so it does what want?

Indeed I wish it was that simple.  However, if you read my original
message, you will see that it is not that simple in this case.

This is the part that gets to the core of the problems (altough you should
really read it in full context):

> So far, so good, right?  Well, these are the problematic versions that I
want
to be able generate:
> 
> --- result 2a ---
> <c:c xmlns:c="urn:c">
>   <c:foo="a-specific information" />
>   <c:bar="b-specific information" />
> </c:c>
> 
> --- result 2b ---
> <c:c xmlns:c="urn:c">
>   <c:foo="a-specific information">
>     <c:bar="b-specific information" />
>   </c:foo>
> </c:c>

Think about it for a while; how would you design the stylesheets?

-
   Daniel Brockman
   mailto:daniel.brockman@xxxxxxxxxxxxxxxx
   
    "To spot the expert, pick the one who predicts
     the job will take the longest and cost the most."
      - Murphy


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread