CreateDocForm

Create New Place
Action Data read from
using
Protection initialize (optional)
and find that document later here

last:

me:


Source code:

  <dsssl:form xmlns:dsssl="http://www.askemos.org/2000/NameSpaceDSSSL" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" action="&apos;()" method="post">
   <table bgcolor="silver" border="0" cellpadding="5" cellspacing="1">
    <thead>Create New Place</thead>
    <tbody>
     <tr>
      <td>Action</td>
      <td>
       <input name="newaction" type="text">
        <xsl:attribute name="value">
         <dsssl:copy-of select="
              (data (select-elements (xsl-variable &quot;state&quot;)
&apos;method))"></dsssl:copy-of>
        </xsl:attribute>
       </input>
      </td>
      <td>Data read from</td>
      <td>
       <input name="read" type="text">
        <xsl:attribute name="value">
         <dsssl:copy-of select="
              (data (select-elements (xsl-variable &quot;state&quot;)
&apos;srcplace))"></dsssl:copy-of>
        </xsl:attribute>
       </input>
      </td>
     </tr>
     <tr>
      <td colspan="4" valing="top">using
     <textarea cols="50" name="body" rows="3" xml:space="preserve"><dsssl:copy-of select="
             (data (select-elements (xsl-variable &quot;state&quot;)
&apos;message))"></dsssl:copy-of></textarea></td>
     </tr>
     <tr>
      <td>Protection</td>
      <td>
       <input name="protection" type="text">
        <xsl:attribute name="value">
         <dsssl:copy-of select="
               (data (select-elements (xsl-variable &quot;state&quot;)
&apos;protection))"></dsssl:copy-of>
        </xsl:attribute>
       </input>
      </td>
      <td>initialize (optional)</td>
      <td>
       <input name="initialize" type="text">
        <xsl:attribute name="value">
         <dsssl:copy-of select="
               (data (select-elements (xsl-variable &quot;state&quot;)
&apos;initialize))"></dsssl:copy-of>
        </xsl:attribute>
       </input>
      </td>
     </tr>
     <tr>
      <td colspan="2"><input name="action" type="submit" value="new"></input>
             and find that document
            <a href="last">later here</a></td>
      <td colspan="2">
       <input name="varnam" type="hidden" value="state"></input>
       <input name="action" type="submit" value="change-variable"></input>
      </td>
     </tr>
     <tr>
      <td colspan="2">
       <p>last:
            <dsssl:copy-of select="
             (if (me &quot;last&quot;)
               (oid-&gt;string (me &quot;last&quot;))
               &quot;fail&quot;)"></dsssl:copy-of></p>
      </td>
      <td colspan="2">
       <p>me:
            <dsssl:copy-of select="
             (oid-&gt;string (me &apos;get &apos;id))"></dsssl:copy-of></p>
      </td>
     </tr>
    </tbody>
   </table>
  </dsssl:form>
 

Diese Seite findet man von: overview, .




Letzte Modifikation: Wed, 07 Jan 2004 23:39:46 +0100

Autor(en): jfw,

Dokument Nummer A67bb0753e1676f81983e0ecf3a15b391 geliefert an public um Thu, 20 Nov 2008 10:18:00 +0100