File: ibm10n02.xml

package info (click to toggle)
haskell-xmlhtml 0.2.5.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,924 kB
  • sloc: xml: 8,109; haskell: 4,868; sh: 6; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (33)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0"?>
<!DOCTYPE student [
	<!ELEMENT student (#PCDATA)>
	<!ATTLIST student
		first CDATA #REQUIRED
		middle CDATA #IMPLIED
		last CDATA #IMPLIED > 
	<!ENTITY myfirst "Snow">
	<!ENTITY mymiddle "I">
	<!ENTITY mylast "Man">
]>

<!-- testing invalid attvalue -->
<student first="Snow&Man">My Name is SnowMan. </student>