Re: [xsl] Inverting a Stylesheet

Subject: Re: [xsl] Inverting a Stylesheet
From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
Date: Mon, 26 May 2003 17:55:07 -0400 (EDT)
On Mon, 26 May 2003, Stefan Bindel wrote:

> Hi,
> 
> I am new to this list but I have a quite hard subject for my stand-in ;)
> 
> If I can transform a specific XML to, say, a specific HTML document like 
> this
> 
>   data.xml ----------------> data.html
>                data.xsl
> 
> is there an algorithm (e.g. called "invert") that, given the input data.xsl 
> can produce  invert(data.xsl) so that
> 
>   data.html ----------------------> data.xml
>                invert(data.xsl)
> 
> ?

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.

rday


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


Current Thread