Re: Reverse Transform XML with XSLT

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



* Gibson wrote in microsoft.public.dotnet.xml:
>i transform xml A to xml B with an xslt.
>Is it possible to use that xslt to tranform xml B to xml A?

For some transformations this is possible, but I am not aware of tools
that do that and in many cases you'd need more information about the
input and output formats to generate usable results. Consider a simple
example like <xsl:value-of select = '$a + $b' />, if you don't know a
or b there might be billions of solutions, so you'd probably have to
change the requirements to a transformation such that applying the XSLT
to the output would be equivalent to the generated xml B; but even for
that I'm unaware of existing tools.
--
Björn Höhrmann · mailto:bjoern@xxxxxxxxxxxx · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
.



Relevant Pages

  • Re: Display XML Output from SQL Server
    ... XslCompiledTransform transform = new XslCompiledTransform; ... what I described in earlier posting ie execute a 'For Xml' stored procedure ... As for XSLT transformation, .net framework has provided built-in component ...
    (microsoft.public.dotnet.framework.aspnet)
  • XML/XSL & System.OutOfMemoryException
    ... Say I have the following source XML and XSLT. ... is not good to use XSLT for such documents), the sample transform should ... I have in memory one 0.5GB object. ...
    (microsoft.public.dotnet.framework.performance)
  • XML/XSL & System.OutOfMemoryException
    ... Say I have the following source XML and XSLT. ... is not good to use XSLT for such documents), the sample transform should ... I have in memory one 0.5GB object. ...
    (microsoft.public.dotnet.framework.performance)
  • RE: Displaying XML as HTML in a popup
    ... XML with the XSLT, and does a write to the screen of the html. ... Can you pass me any good code to do the transform of the XML ... a user clicks on a link which calls a web service (I will use AJAX ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: .NET XSLT Transform - Optimization
    ... I am using .NET XSLT to transform an XML into another XML file. ... I jokingly call this technique "binary destroy", ...
    (microsoft.public.dotnet.xml)