Skip to content
Powerful XML viewer for Google Chrome and Safari
Branch: master
Clone or download
Latest commit f2cc936 May 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css Added CarbonAds Nov 27, 2017
extensions
icon-16.drawit Nodes can be searched in Chrome in omnibox with 'xv' prefix Feb 9, 2011
src Working on click-to-copy Nov 27, 2017
xml Updated URL parser to support braces Oct 4, 2012
.editorconfig
.gitignore Refreshed Chrome extension Oct 23, 2017
.gitmodules
LICENSE.txt Create LICENSE.txt Sep 1, 2014
README.textile Added information on how to install the viewer on Chrome Jan 23, 2015
browser.xsl Provide stylesheet for in-browser transform Feb 14, 2011
eclipse.html Added Eclipse plugin resource May 22, 2011
gulpfile.js Fixed content script Oct 25, 2017
icon.psd Icons for Google Chrome extension Feb 14, 2011
index.html Added URL detection Sep 10, 2012
outline.psd CDATA styling Feb 13, 2011
outline.sketch New Chrome fixes and improvements Oct 24, 2017
package.json
xml-pretty-print.xslt

README.textile

XV is a browser-based XML viewer, available as a Google Chrome and Safari extensions.

Online demo (works in Chrome, Safari, Firefox)

Current features

  • Collapsable elements: Alt+click to expand/collapse all descendant elements
  • Outline for better document overview
  • Search by name or XPath. By default uses simple search mode which looks for a partial match in element‘s or attribute’s name; use special symbols like ‘/’ or ‘[’ to search by XPath
  • Quick XPath mode: hold down Command (Mac) or Ctrl (PC) key while moving mouse cursor over element‘s or attribute’s name to enter Quick XPath mode. Use Shift key to cycle through available XPath variants and then drag’n’drop element under cursor into text editor.
    Google Chrome users: click on element will copy XPath to clipboard

Download

You can also download an XSL stylesheet and use it for styling XML files with <?xml-stylesheet type="text/xsl" href="xv-browser.xsl"?>

Installation

Chrome

  • Got to chrome://extensions/ and Enable XV — XML Viewer. If you want the viewer to automatically process XML feeds, Click on Options and tick the box Intercept requests for XML, RSS and ATOM documents

Note for Safari on Mac plugin

Due to plugin’s nature, the styled XML is very unresponsive on mouse hover events (like Quick XPath mode) so you have to click on area of interest to get focus. I’m looking for a solutions of this problem.


XV design is inspired by MacRabbit’s Espresso editor

You can’t perform that action at this time.