Re: [xsl] Inverting a Stylesheet

Subject: Re: [xsl] Inverting a Stylesheet
From: "Stefan Bindel" <stefan.bindel@xxxxxx>
Date: Tue, 27 May 2003 08:58:51 +0200
On 26.05.2003 at 17:55 Robert P. J. Day wrote:

>i don't see how, since there may be many XML files that could
>have generated that single HTML file (basically, a many-to-one
>mapping).
>
>it might be possible for extremely restricted cases, but certainly
>not in general.

Not in general, agreed. 

But then the algorithm could fail in that case and return the inversion in case it exists.
And since the algorithm does not get the xml and html files as input but the transforming xsl, the cases are not so restricted I think. 
As long as the html reflects more or less the structure of the xml, the inversion is possible.

Regards
Stefan


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


Current Thread