Wireshark-bugs: [Wireshark-bugs] [Bug 5785] New: add XSLT for PDML output to render poor man's W
Date: Thu, 24 Mar 2011 16:27:23 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5785

           Summary: add XSLT for PDML output to render poor man's
                    Wireshark in HTML
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: doj@xxxxxxxxx


Created an attachment (id=6081)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=6081)
change PDML export to use the pdml2html.xsl stylesheet

Build Information:
works on all.
--
My attachment adds a link to a XSLT file to the preamble of the PDML.
The XSLT will transform the PDML to a HTML page, and the HTML page features a
look similar to Wireshark. See http://cubic.org/~doj/ebay/a.pdml for an
example.

The patch also contains a small perl program which converts the Wireshark
colortable into javascript code which is used in the XSLT file. If you want to
use a different color scheme you would execute the perl program and insert the
generated javascript function into your XSLT file.

To view the HTML you could either place the PDML and XSLT file on your
webserver and verify that your webserver sends the PDML file as "text/xml".
Then your webbrowser will find the linked XSLT file, download that as well and
convert the PDML to HTML on the fly.

You could also use an XSLT processor like xsltproc to convert the PDML and XSLT
into a static HTML file.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.