User:Lindenb/Notebook/UMR915/20110201

=Proteomics= wrote software for Céline. See fr.inserm.umr915.proteomics.MassSpecProduct

used a stylesheet to extract the fields from a HTML form:   

 class HttpParam {	private String name; private String value; public HttpParam(String name,String value) {		this.name=name; this.value=value; }	public String getName {		return this.name; }	public String getValue {		return this.value; }	public String toString {		return getName+"="+getValue; }	}  



 

    params.add(new HttpParam("",""));// </xsl:if> </xsl:when> <xsl:when test="@type='reset'"> </xsl:when> <xsl:otherwise> params.add(new HttpParam("<xsl:value-of select="@name"/>","<xsl:value-of select="@value"/>"));//<xsl:value-of select="@type"/> </xsl:otherwise> </xsl:choose> </xsl:template>

 <xsl:variable name="fieldName" select="@name"/> <xsl:for-each select="option"> <xsl:if test="@selected"> <xsl:choose> <xsl:when test="@value"> params.add(new HttpParam("<xsl:value-of select=" $fieldName"/>","<xsl:value-of select="@value"/>"));//select </xsl:when> <xsl:otherwise> params.add(new HttpParam("<xsl:value-of select=" $fieldName"/>","<xsl:value-of select="."/>"));//select </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:for-each> </xsl:template>

 params.add(new HttpParam("<xsl:value-of select="@name"/>","<xsl:value-of select= "."/>"));//textarea </xsl:template> </xsl:stylesheet> =Project 'B'= started remove duplicates with picard. =AngelHeart= Added support for NCBI-Gene: Thread looking at NCBI-Gene to get the gene definition.