File: example1.xml

package info (click to toggle)
haskell-hxt-relaxng 9.1.4-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 684 kB
  • ctags: 23
  • sloc: haskell: 12,339; makefile: 167; xml: 37
file content (22 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE a [
<!ATTLIST a  att1  NMTOKENS  #IMPLIED
             att2  ID        #REQUIRED>
<!ATTLIST b  btt2  ID        #REQUIRED
             btt3  IDREF     #REQUIRED>
<!ELEMENT a  (b, c?)>
<!ELEMENT b  EMPTY>
<!ELEMENT c (#PCDATA)>
]>

<?pi a processing instruction?>

<a att1=" test
          
          test "
   att2="root"
>
    <b btt2="b1" btt3="root"/>
    <c>hello world  test</c>
</a>