Internet explorer 要查看的XSLT或查看器应用程序;Internet Explorer网络检查器“;xml导出

Internet explorer 要查看的XSLT或查看器应用程序;Internet Explorer网络检查器“;xml导出,internet-explorer,internet-explorer-9,ie-developer-tools,Internet Explorer,Internet Explorer 9,Ie Developer Tools,使用IE9开发者工具栏的“网络”选项卡,我捕获了站点周围的一些导航,然后将这些日志导出到一个XML文件(默认为NetworkData.XML) 在该XML中,创建者标记设置为“Internet Explorer网络检查器” 是否有XSLT可以帮助显示该XML,或者有一些查看器应用程序可以帮助显示该XML 更新: 根据将来的研究,NetworkData.xml文件是HAR文件的xml表示形式。有相当多的在线观众。仍然找不到XML-HAR的查看器,也没有转换器。如图所示,Fiddler似乎可以做到这

使用IE9开发者工具栏的“网络”选项卡,我捕获了站点周围的一些导航,然后将这些日志导出到一个XML文件(默认为NetworkData.XML)

在该XML中,创建者标记设置为“Internet Explorer网络检查器”

是否有XSLT可以帮助显示该XML,或者有一些查看器应用程序可以帮助显示该XML

更新: 根据将来的研究,NetworkData.xml文件是HAR文件的xml表示形式。有相当多的在线观众。仍然找不到XML-HAR的查看器,也没有转换器。

如图所示,Fiddler似乎可以做到这一点。
安装了Fiddler之后,我发现不再需要它了。

这里有一个XLST,它还不完整,但你会明白的

编辑NetworkData.xml并添加

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="NDTable.xsl" ?>

起初

将以下XML保存在NDTable.xsl

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <xsl:template match="/">
        <html>
            <xsl:apply-templates/>
        </html>

    </xsl:template>


    <xsl:template match="log">
        <head>
            <Title>
                <xsl:value-of select="creator/name"/>
            </Title>
        </head>
        <body>
            <h1>
                <xsl:value-of select="creator/name" />
            </h1>
            <P>Started at <xsl:value-of select="pages/page/startedDateTime" />
            </P>
            <table border="1">
                <tr>
                    <th>Request</th>
                    <th>Response</th>
                </tr>
                <xsl:apply-templates select="entries" />
            </table>
        </body>

    </xsl:template>

    <xsl:template match="entry">
        <tr> 
            <td>
                <xsl:apply-templates select="request" />
            </td>
            <td valig="top">
                <xsl:apply-templates select="response" />
            </td>

        </tr>


    </xsl:template>

    <xsl:template match="request">
        <table>
            <tr>
                <td valign="top">
                    <xsl:value-of select="method" />
                </td>
                <td>
                    <xsl:value-of select="url" />
                    <table>
                        <tr>
                            <th>Headers</th>
                        </tr>
                        <tr>
                            <td> </td>
                            <td>
                                <xsl:apply-templates select="headers/header[not(name='Cookie')]" />
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <th>Cookies</th>
                        </tr>

                        <xsl:apply-templates select="cookies" />
                    </table>
                </td>
            </tr>
        </table>
    </xsl:template> 
    <xsl:template match="response">
        <table>
            <td>
                <xsl:value-of select="status" /> <span>.</span><xsl:value-of select="statusText" />
                <br/>
                    <table>
                        <tr>
                            <th>Headers</th>
                        </tr>
                        <tr>
                            <td> </td>
                            <td>
                                <xsl:apply-templates select="headers/header" />
                            </td>
                        </tr>
                    </table>
<div style='background-color: #C0C0C0'> <xsl:value-of select="content/text" /> </div>                   
            </td>
        </table>
    </xsl:template> 
    <xsl:template match="header">
        <xsl:value-of select="name" /> : <xsl:value-of select="value" />
        <br/>
    </xsl:template> 
    <xsl:template match="cookie">
        <tr>
            <td> </td>
            <td valign="top">
                <xsl:value-of select="name" />
            </td>
            <td>
                <xsl:value-of select="value" />
            </td>
        </tr>
    </xsl:template> 
</xsl:stylesheet>

开始于

要求 回应 标题 曲奇饼 .
标题 :