[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Outputting the DOCTYPE tag to XHTML

Subject: Re: Outputting the DOCTYPE tag to XHTML
From: Daniel Bibbens <dbibbens@xxxxxxxxxx>
Date: Sun, 30 Mar 2003 10:32:34 -0600 (CST)
xsl input type
Use <xsl:output .../> i.e. 

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
  <xsl:output method="xml" 
    media-type="text/html" 
    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
    doctype-system="DTD/xhtml1-strict.dtd"
    cdata-section-elements="script style"
    indent="yes"
    encoding="ISO-8859-1"/>

  <xsl:template match="/">
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>USER::Add</title>
      </head>
      <body>
        <h3>USER ADD</h3>
        <div align="right"><a href="/user/list.html">user list</a></div>
        <hr/>
        <form action="http://xobjex.com/cgi-bin/process.pl" method="post">
          <input type="hidden" name="xsl" value="user/instance.xsl"/>
          <input type="hidden" name="instance" value="true"/>
          <table>
            <tr>
              <td>username:</td>
              <td><input type="text" name="username"/></td>
            </tr>
            <tr>
              <td>password:</td>
              <td><input type="password" name="password"/></td>
            </tr>
            <tr>
              <td>re-type password:</td>
              <td><input type="password" name="password-confirm"/></td>
            </tr>
            <tr>
              <td>firstname:</td>
              <td><input type="text" name="name.first"/></td>
            </tr>
            <tr>
              <td>lastname:</td>
              <td><input type="text" name="name.last"/></td>
            </tr>
            <tr>
              <td><br/></td>
              <td><input type="submit" value="OK"/></td>
            </tr>
          </table>
        </form>
        <hr/>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.