File: emptyexample.xml

package info (click to toggle)
texlive-lang 2014.20141024-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,003,116 kB
  • ctags: 12,320
  • sloc: perl: 42,934; xml: 18,105; makefile: 4,433; ansic: 2,845; sh: 2,631; python: 1,398; ruby: 674; awk: 636; lisp: 603; java: 159; sed: 142
file content (15 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (22)
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>