File: id.xml

package info (click to toggle)
libaxiom-java 1.2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 5,724 kB
  • sloc: java: 42,576; xml: 12,635; sh: 9; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>

<!DOCTYPE foo [

<!ELEMENT foo (bar)>
<!ATTLIST foo id CDATA #IMPLIED>
<!ELEMENT bar (#PCDATA|cheese)*>
<!ATTLIST bar id ID #REQUIRED>
<!ELEMENT cheese (#PCDATA)>
<!ATTLIST cheese kind ID #IMPLIED>
]>

<foo id="foobar">
  <bar id="fb1">
    baz
    <cheese kind="edam">gouda</cheese>
    baz
    <cheese kind="gouda">cheddar</cheese>
    baz
  </bar>
</foo>