Open Bug 548786 Opened 14 years ago Updated 2 years ago

one click to copy the whole source content of a rendered XML document

Categories

(Firefox :: General, enhancement)

x86
Windows Vista
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: dev.tom.menzel, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 GTB6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 GTB6 (.NET CLR 3.5.30729)

when opening an xml document the content is rendered (when no XSL is spec'ed).

it is nice to look at bad not so good for copying its content for consumption.

USE CASE
as developers we use XML extensively and often attach xml docs to issues and wiki pages. using them then for testing/developing is cumbersome b/c you need it as pure XML and not the HTML-ified version of it, and to get to that you have to first open the source view before you can copy the content.

this plugin i found but doesnt do the trick:
https://addons.mozilla.org/en-US/firefox/addon/4554 


Reproducible: Always

Steps to Reproduce:
1. open a file/url with the ending .xml
2. try to copy/paste it's source to an editor

Actual Results:  
pretty rendering artifacts are included

Expected Results:  
IF nothing is selected:
a context menu entry (or even a button/link in the header where it tells me  that there is no XSL) to copy the whole source of the xml.
Label: "Copy All Source XML"

IF smth. is selected, the same except it copies the selected xml source.
Label: "Copy XML Source"
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.