File: example.xml

package info (click to toggle)
libstruts1.2-java 1.2.9-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 47,508 kB
  • ctags: 29,430
  • sloc: xml: 90,344; java: 71,078; jsp: 31,692; makefile: 10; sh: 2
file content (114 lines) | stat: -rw-r--r-- 2,715 bytes parent folder | download | duplicates (6)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0"?>
<document>

  <properties>
    <author email="sraeburn AT apache.org">Steve Raeburn</author>
    <author email="mrsmith.AT.foo.DOT.com">Mr. Smith</author>
    <title></title>
  </properties>

  <meta name="keyword" content="jakarta, java"/>

<body>

<section name="Section 1">
<p>
This is section 1.
</p>

<table>
<tr>
    <td>This is a table</td><td>This is a table</td>
</tr>
<tr>
    <td>This is a table</td><td>This is a table</td>
</tr>
</table>

<ul>
    <li>This is an unordered list.</li>
</ul>

</section>

<section name="Section 2">
<p>
This is section 2.
</p>

<ol>
    <li>This is an ordered list.</li>
</ol>
</section>

<section name="Section 3">
<p>
This is section 3.
</p>

<source>
    Anything within this tag is rendered as a "box"
    with blue lines and <pre></pre> tags around it.
</source>

    <subsection name="Subsection of Section 3">
    <p>
        This is the subsection 3.
    </p>

    <source><![CDATA[      
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC
              "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
              "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
    <struts-config>
        <form-beans>
            <form-bean
                name="logonForm"
                type="app.LogonForm"/>
        </form-beans>
        <action-mappings>
            <action
                path="/Welcome"
                forward="/pages/Welcome.jsp"/>
            <action
                path="/Logon"
                forward="/pages/Logon.jsp"/>
            <action
                path="/LogonSubmit"
                type="app.LogonAction"
                name="logonForm"
                scope="request"
                validate="true"
                input="/Logon.do">
                <forward
                    name="success"
                    path="/Welcome.do"/>
                <forward
                    name="failure"
                    path="/Logon.do"/>
            </action>
            <action
                path="/Logoff"
                type="app.LogoffAction">
                <forward
                    name="success"
                    path="/Welcome.do"/>
            </action>
        </action-mappings>
        <message-resources parameter="resources.application"/>
    </struts-config>
    ]]></source>


    </subsection>
</section>

<footer>
    <a href="http://sourceforge.net/projects/ctecl">
      <img src="http://sourceforge.net/sflogo.php?group_id=72748" border="0" alt="sf logo"/>
    </a>
</footer>

</body>
</document>