File: emptyexample.xml

package info (click to toggle)
texlive-doc 2009-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 192,004 kB
  • ctags: 4,774
  • sloc: perl: 12,760; xml: 11,870; makefile: 1,033; lisp: 394; sh: 229; awk: 205; java: 159; sed: 4
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>