通过XSL查看XML中的源代码到XHTML转换 [英] Viewing source in XML to XHTML transformation through XSL
问题描述
我试图使用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屋!