如何创建XML / XSLT编译器? [英] How do you create an XML/XSLT DEcompiler?

查看:131
本文介绍了如何创建XML / XSLT编译器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个新的项目,该项目有一个系统来构建样式表的XML文件和各种XSLT文件。如果我想在浏览器中完成完成的页面并进行修改,然后将其反编译成其组件 - 如何做?

I am working on a new project that has a system that builds an XML file and assorted XSLT files for the stylesheets. If I want to take the completed page in the browser and modify it - and then decompile it into its component parts - how would one do it?

推荐答案

通常来说,从转换输出中获取输入是不可能的

在上述句子中,使用单词function的单词transformation。

This is exactly the same if you substitute in the above sentence the word "transformation" with the word "function.

只有在1:1映射时,函数才有一个相反的作用。

A function has a reverse one only if it is a 1:1 mapping.

任何不是1:1的函数都没有反向功能。

Any function that is not 1:1 doesn't have a reverse function.

所以,如果可能的话转换从多个XML文档生成相同的输出,然后只是看输出,就不可能确定这些XML文档中的哪一个是输入。

So, if it is possible that a transformation produces the same output from more than one XML document, then just looking at the output it is not possible to determine which exactly of these XML documents was the input.

这篇关于如何创建XML / XSLT编译器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆