Hello Syed

sorry I wasn't clear. I see the XML in the page:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Query>
<Query virtualSchemaName = "default" formatter = "TSV" header = "0" uniqueRows = "0" count = "" datasetConfigVersion = "0.6" >
                        
        <Dataset name = "hsapiens_gene_ensembl" interface = "default" >
                <Filter name = "chromosome_name" value = "11"/>
                <Attribute name = "ensembl_gene_id" />
                <Attribute name = "external_gene_id" />
        </Dataset>
</Query>


But when I want to save it by clicking on my Browser 'Save Page As...', I'm getting back an HTML page!

So I checked the mime-type of that page and it returned 'text/plain' instead of application/xml

If the type had been set to application/xml, I would have been able to use my Browser 'Save Page As...' button.

does that make sense?

Isabelle

Syed Haider wrote:
Isabelle,
open in new window is precisely meant to view results in browser and for
those who want to pick (copy paste) from one place to another without
any XML formatting. If you intend to save it eventually, then you may
use 'Export all results' option. i assume this is what you want to do.

cheers
syed


On Mon, 2008-04-07 at 12:01 +0200, Isabelle Phan wrote:
Hi Arek

I tried that before and used 'Save page as...' and got this:

<html>
<head>
   <title>BioMart - MartView</title>

   <link rel="stylesheet" type="text/css" href="/biomart/mview/martview.css" />

<script src="/biomart/mview/js/martview.js"  type="text/javascript" ></script>

</head>


I can use copy/paste, but I think it would be better if Biomart sent back a proper XML with mime-type set to application/xml (e.g. like http://beta.uniprot.org/uniprot/P12345.xml )


I.

Arek Kasprzyk wrote:
Hi Isabelle,
perhaps you can consider using our webservices for your examples, This does not need
anything to be installed, very easy to use and you get data faster?
We have a very simple example perl script which does not need any modifications nor it needs any dependencies either



--
Isabelle Phan, D.Phil.
Swiss Institute of Bioinformatics         Tel: (+41 22) 379 51 89
CMU - 1, rue Michel Servet                Fax: (+41 22) 379 58 58
CH - 1211 Geneva 4 Switzerland            email: [EMAIL PROTECTED]

Reply via email to