diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/xml/emptyexample.xml')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-web-companion/xml/emptyexample.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/xml/emptyexample.xml b/Master/texmf-dist/doc/latex/latex-web-companion/xml/emptyexample.xml new file mode 100644 index 00000000000..957a6041065 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/xml/emptyexample.xml @@ -0,0 +1,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> |