File: ibm01v01.xml

package info (click to toggle)
haskell-xmlhtml 0.2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,808 kB
  • sloc: xml: 8,109; haskell: 5,279; sh: 43; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 568 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
<?xml version="1.0" encoding="us-ascii" standalone="yes" ?>
<!-- Above is XMLDecl -->
<!DOCTYPE animal [
<!ELEMENT animal (cat|tiger|leopard)+>
<!ELEMENT cat EMPTY>
<!ELEMENT tiger (#PCDATA)>
<!ELEMENT leopard ANY>
<!ELEMENT small EMPTY>
<!ELEMENT big EMPTY>
<!ATTLIST tiger color CDATA #REQUIRED>
]>
<!-- Above is DTD -->
<?music "Here is a PI" ?> 
<animal>
   <cat/>
   <tiger color="white">This is a white tiger in Mirage!!</tiger>
   <cat/>
   <leopard>
      <small/>
      <big/>
   </leopard>
</animal>
<!-- Above is element animal -->