OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XSLT paradox - XSLT as one way encryption scheme?



I have a question/observation about XSLT.
 
If we look at the equation, where :
XML(1)*XSLT(1)=Output(1)
as well as
Output(1)/XSLT(1)<>XML(1)
 
we find that XSLT in fact is an (effective?) one way encryption scheme. 
 
I doubt it's a very strong encryption scheme, though that no doubt depends
on the stylesheet. I tend to think of a stylesheet as a function output =
xslt(input). And it's certainly a one-way function.
 
Is this intended behavious, should i t be so, and is this addressed in XSLT
2.0?
 
I think a reversible transformation would be a very different animal, and
would require a much more restrictive language. For example, how could you
possibly reverse the effect of the stylesheet:
 
<total xsl:version="1.0" xmlns:xsl="..." value="{sum(//item/@value)}"/>
 
Mike Kay

<<attachment: winmail.dat>>