File: complex.xml

package info (click to toggle)
python-xml 0.4.19981014-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,124 kB
  • ctags: 3,099
  • sloc: ansic: 9,075; python: 8,150; xml: 7,940; makefile: 84; sh: 41
file content (37 lines) | stat: -rw-r--r-- 1,463 bytes parent folder | download
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
<?xml version="1.0"?>
<?test where="before"?>
<?IS10744:arch name ="biblio" renamer-att="bren" suppressor-att="bsup" ignore-data-att="bign"
               bridge-form="bibbrid"?>
<?IS10744:arch name ="html" suppressor-att="hsup" auto="ArcAuto" form-att="ht"?>
<?test where="after"?>

<!DOCTYPE doc [
<!ATTLIST content ht     CDATA  #FIXED   "body"     >
<!ATTLIST info    ht     CDATA  #FIXED   "title"    >
<!ATTLIST last    ht     CDATA  #FIXED   "#IMPLIED" >
<!ATTLIST test    ht     CDATA  #FIXED   "#IMPLIED" >
<!ATTLIST creator ht     CDATA  #FIXED   "#IMPLIED" >
<!ATTLIST init    id     ID     #REQUIRED           >
<!ATTLIST comment 
                  biblio CDATA  #FIXED   "note"
                  ht     CDATA  #FIXED   "address"  >
]>
<doc bsup="sArcForm">
  <front ht="#IMPLIED">
    <head biblio="title">
      <info date="19980721">A more complex sample</info>
    </head>
    <creator biblio="author" hsup="sArcAll" bsup="sArcNone" bign="cArcIgnD">
      <init id="abc123">Mr.</init>
      <first biblio="firstname" nationality="norwegian">Geir Ove</first> 
      <last biblio="lastname" updated="yes" bren="updated modified">Gronmo</last>
      <comment>You can reach me at <phone>12345678 or at </phone>grove@infotek.no</comment>
      <test ignore="maybe"/>
    </creator>
  </front>
  <content>
    <h1>The title</h1>
    <para ht="p" biblio="content" bsup="sArcNone">This is the <em ht="b">complex </em>document.</para>
  </content>
</doc>