File: XSLTSample.xsl

package info (click to toggle)
vistrails 3.0~git%2B9dc22bd.dfsg.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 62,856 kB
  • sloc: python: 314,055; xml: 42,697; sql: 4,113; php: 731; sh: 469; makefile: 253
file content (28 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0"?>
<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" encoding="UTF-8"/>
  <xsl:template match="/">
    <html>
      <head><title>XSLT Sample</title></head>
      <body>
         <h2>The Sequence for the Given Gene is: </h2>
                <ul>
                  <li>
        <xsl:value-of select="DDBJXML/SEQUENCE"/> 
                  </li>
                </ul>
<h3>Please fill in the following inputs and Submit:</h3>
<xsl:text disable-output-escaping="yes"><![CDATA[
  <form method="post" action="http://geon01.sdsc.edu:8164/pt2/jsp/ptf.jsp">      
                <b>Program: </b><input name="program" size="20" type="text"><BR>
                <b>Database: </b><input name="database" size="20" type="text"><BR>
                <b>Query: </b><input name="query" size="20" type="text"><BR>
                <INPUT TYPE="submit" VALUE="Make BLAST search using the specified inputs">        
</form>
]]></xsl:text>   
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>