mirror of
https://github.com/sstent/alex_app1.git
synced 2026-01-27 01:22:32 +00:00
51 lines
1.4 KiB
XML
51 lines
1.4 KiB
XML
<sample>
|
|
<chartest desc="Test for CHARs">Character data here!</chartest>
|
|
<cdatatest desc="Test for CDATA" misc="true"><![CDATA[CDATA here!]]></cdatatest>
|
|
<nochartest desc="No data" misc="false" />
|
|
<whitespacetest desc="Test for normalizing and trimming">
|
|
Line One
|
|
Line Two
|
|
</whitespacetest>
|
|
<listtest>
|
|
<item>
|
|
This <subitem>Foo(1)</subitem> is
|
|
<subitem>Foo(2)</subitem>
|
|
character
|
|
<subitem>Foo(3)</subitem>
|
|
data!
|
|
<subitem>Foo(4)</subitem>
|
|
</item>
|
|
<item>Qux.</item>
|
|
<item>Quux.</item>
|
|
</listtest>
|
|
<arraytest>
|
|
<item><subitem>Baz.</subitem></item>
|
|
<item><subitem>Foo.</subitem><subitem>Bar.</subitem></item>
|
|
</arraytest>
|
|
<emptytest/>
|
|
<tagcasetest>
|
|
<tAg>something</tAg>
|
|
<TAG>something else</TAG>
|
|
<tag>something third</tag>
|
|
</tagcasetest>
|
|
<ordertest>
|
|
<one>1</one>
|
|
<two>2</two>
|
|
<three>3</three>
|
|
<one>4</one>
|
|
<two>5</two>
|
|
<three>6</three>
|
|
</ordertest>
|
|
<validatortest>
|
|
<emptyarray/>
|
|
<oneitemarray>
|
|
<item>Bar.</item>
|
|
</oneitemarray>
|
|
<numbertest>42</numbertest>
|
|
<stringtest>43</stringtest>
|
|
</validatortest>
|
|
<pfx:top xmlns:pfx="http://foo.com" pfx:attr="baz">
|
|
<middle xmlns="http://bar.com"/>
|
|
</pfx:top>
|
|
</sample>
|