[
Lists Home |
Date Index |
Thread Index
]
- From: Betty Harvey <harvey@eccnet.eccnet.com>
- To: "'xml-dev@ic.ac.uk'" <xml-dev@ic.ac.uk>
- Date: Thu, 08 Apr 1999 20:43:16 -0400
I have several questions so I am going to 'glump' them together
in one:
1. Graphic entities do not work in IE 5.0. Does anyone know
of a workaround besides XSL?
2. The following works in IE 5.0:
<?xml version="1.0"?>
<?xml-stylesheet href="rep-xml.css" type="text/css"?>
<test xmlns:html="http://www.w3.org/TR/REC-html40">
<html:img src="../graphics/ecclogo.gif"/>
<para>This is a test</para>
<picture name="ecc"/>
</test>
When I add a DTD in the document declaration subset, I
get an error:
Reference to undeclared namespace prefix: 'html'. Line 17, Position 1
<test xmlns:html="http://www.w3.org/TR/REC-html40">
^
This is the document:
<?xml version="1.0"?>
<?xml-stylesheet href="rep-xml.css" type="text/css"?>
<!DOCTYPE test [
<!NOTATION gif SYSTEM "gif">
<!ENTITY ecc SYSTEM "../graphics/ecclogo.gif" NDATA gif>
<!ELEMENT test (html:img, picture, para)>
<!ATTLIST test
xmlns:html CDATA #FIXED "http://www.w3.org/TR/REC-html40">
<!ELEMENT html:img EMPTY>
<!ATTLIST html:img
src CDATA #REQUIRED>
<!ELEMENT picture EMPTY>
<!ATTLIST picture
name ENTITY #REQUIRED>
<!ELEMENT para (#PCDATA)>
]>
<test xmlns:html="http://www.w3.org/TR/REC-html40">
<html:img src="../graphics/ecclogo.gif"/>
<picture name="ecc"/>
<para>This is a test</para>
</test>
If I take all references to Namespaces out document there are
no parsing errors but of course no graphics? Am I missing
something? I can't find any references to the DTD in the
Namespace spec.
TIA!!
Betty
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey | Phone: 301-540-8251 FAX: 4268
Electronic Commerce Connection, Inc. |
13017 Wisteria Drive, P.O. Box 333 |
Germantown, Md. 20874 |
harvey@eccnet.com | Washington,DC SGML/XML Users Grp
URL: http://www.eccnet.com | http://www.eccnet.com/sgmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|