通过XSL查看XML中的源代码到XHTML转换 [英] Viewing source in XML to XHTML transformation through XSL

查看:118
本文介绍了通过XSL查看XML中的源代码到XHTML转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用XSL文件将XML文件转换为XHTML文件。如何查看转换后输出的XHTML源代码。我目前正在通过Firefox查看结果,但是我看到的只是XHTML文件的渲染版本。我想看到源代码,但是当我去查看 - >页面源,我看到的只是XML。我正在运行Ubuntu。



在此先感谢!

- Corey

解决方案

使用,并使用其查看生成的源选项。



从上下文菜单中选择Web Developer - > View Source - > View generated来源。



以下链接指向 w3school的XSL示例页面,如果有人想测试它的话。


I'm trying to use an XSL file to transform an XML file into an XHTML file. How can I view the XHTML source that is output after the transformation. I'm currently viewing the results through Firefox, but all I see is the rendered version of the XHTML file. I want to see the source, but when I go to View->Page Source, all I see is the XML. I'm running Ubuntu.

Thanks in advance!

-- Corey

解决方案

Use the Web developer toolbar, and utilize its View Generated Source option.

From the context menu choose Web Developer --> View Source --> View generated source.

Here's a link to a w3school's XSL sample page if anyone wants to test it out.

这篇关于通过XSL查看XML中的源代码到XHTML转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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