xwork / docs / dtd.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>OpenSymphony Wiki (Offline Version) :: Xwork Documentation</title>
  <link type="text/css" href="main.css" rel="STYLESHEET"/>
</head>
<body>
  <div id="page-logo">
    <a href="index.html">XWork Documentation</a>
  </div>
    <div class="snip-title">
	  <h1 class="snip-name">Xwork 1.0 DTD
  
  </h1>
  </div>
<div id="snip-content" class="snip-content">

 <div class="snip-attachments"></div>
 
 <div class="code"><pre>&#60;?xml version=<span class="xml&#45;quote">"1.0"</class> encoding=<span class="xml&#45;quote">"UTF&#45;8"</class>?&#62;
&#60;!ELEMENT xwork (package|include)+&#62;<p class="paragraph"/>&#60;!ELEMENT package (result&#45;types?, interceptors?, default&#45;interceptor&#45;ref?, global&#45;results?, action&#42;)&#62;
&#60;!ATTLIST package
    name CDATA #REQUIRED
    extends CDATA #IMPLIED
    namespace CDATA #IMPLIED
    abstract CDATA #IMPLIED
&#62;<p class="paragraph"/>&#60;!ELEMENT result&#45;types (result&#45;type+)&#62;<p class="paragraph"/>&#60;!ELEMENT result&#45;type (param&#42;)&#62;
&#60;!ATTLIST result&#45;type
    name CDATA #REQUIRED
    class CDATA #REQUIRED
    default (true|false) <span class="xml&#45;quote">"false"</class>
&#62;<p class="paragraph"/>&#60;!ELEMENT interceptors (interceptor|interceptor&#45;stack)+&#62;<p class="paragraph"/>&#60;!ELEMENT interceptor (param&#42;)&#62;
&#60;!ATTLIST interceptor
    name CDATA #REQUIRED
    class CDATA #REQUIRED
&#62;<p class="paragraph"/>&#60;!ELEMENT interceptor&#45;stack (interceptor&#45;ref+)&#62;
&#60;!ATTLIST interceptor&#45;stack
    name CDATA #REQUIRED
&#62;<p class="paragraph"/>&#60;!ELEMENT interceptor&#45;ref (param&#42;)&#62;
&#60;!ATTLIST interceptor&#45;ref
    name CDATA #REQUIRED
&#62;<p class="paragraph"/>&#60;!ELEMENT default&#45;interceptor&#45;ref (param&#42;)&#62;
&#60;!ATTLIST default&#45;interceptor&#45;ref
    name CDATA #REQUIRED
&#62;<p class="paragraph"/>&#60;!ELEMENT global&#45;results (result+)&#62;<p class="paragraph"/>&#60;!ELEMENT action (param|result|interceptor&#45;ref)&#42;&#62;
&#60;!ATTLIST action
name CDATA #REQUIRED
    class CDATA #REQUIRED
    method CDATA #IMPLIED
    converter CDATA #IMPLIED
&#62;<p class="paragraph"/>&#60;!ELEMENT param (#PCDATA)&#62;
&#60;!ATTLIST param
    name CDATA #REQUIRED
&#62;<p class="paragraph"/>&#60;!ELEMENT result (#PCDATA|param)&#42;&#62;
&#60;!ATTLIST result
    name CDATA #REQUIRED
    type CDATA #IMPLIED
&#62;<p class="paragraph"/>&#60;!ELEMENT include (#PCDATA)&#62;
&#60;!ATTLIST include
    file CDATA #REQUIRED
&#62;</pre></div>
  </div>
</body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.