File: emptyexample.xml

package info (click to toggle)
texlive-lang 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,093,148 kB
  • ctags: 15,901
  • sloc: perl: 46,074; xml: 29,603; makefile: 5,248; sh: 3,179; python: 2,949; ansic: 2,846; ruby: 945; lisp: 726; awk: 636; java: 159; sed: 142; cpp: 12
file content (15 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE emptyexample [
<!ELEMENT emptyexample (par*)>
<!ELEMENT par (#PCDATA|image|imref)*>
<!ELEMENT image EMPTY>
<!ATTLIST image name    ID     #IMPLIED
                address CDATA  #REQUIRED>
<!ELEMENT imref EMPTY>
<!ATTLIST imref name    IDREF  #REQUIRED>
<!ENTITY  logo-uri "http://www.ucc.ie/xml/xml.gif">
]>
<emptyexample>
<par>The XML logo is shown in the image <imref name="xml-logo"/>.</par>
<par>The image shows an alternative syntax for an empty element 
<image name="xml-logo" address="&logo-uri;"></image></par>
</emptyexample>