File: id.xml

package info (click to toggle)
libjaxen-java 1.1~beta11-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,824 kB
  • ctags: 3,147
  • sloc: java: 20,828; xml: 7,735; makefile: 51
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>