LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives


XML-L Archives

XML-L Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave XML-L
Reply | Post New Message
Search Archives


Subject: Displaying XML documents in IE 5.0
From: Peter Eriksson <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Thu, 25 Mar 1999 10:35:02 +0100
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (87 lines)


Hi!

Why doesn't this work?

Question 1.
I try to display a XML document in IE 5.0 (using a CSS), but it only
works without a DTD. And if I don't use a DTD and try to declare
character references, then it complains that elements used in the
document are not declared in the DTD.

Question 2.
 Where do I find the character "numbers" in UNICODE, i.e. &#229; etc.

Example 1. - COMPLAINS THAT THE SORMAN ELEMENT ISN'T DECLARED. -

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<?xml-stylesheet type="text/css" href="sample2.css" ?>

<!DOCTYPE sorman [

<!-- Special characters -->

<!ENTITY aring "&#229;">
<!ENTITY ouml "&#228;">
<!ENTITY auml "&#246;">

]>

<sorman>
<section>
<title><normal>&auml;llmant</normal></title>
<para>
<normal>This project specific document...</normal>
</para>
</section>
</sorman>

Example 2. - RESULTS IN NO ERRORS, BUT ONLY DISPLAYS THE TEXT sorman.dtd
IN IE. -

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<?xml-stylesheet type="text/css" href="sample2.css" ?>

<!DOCTYPE sorman  SYSTEM "sorman.dtd" [

<!-- Special characters -->

<!ENTITY aring "&#229;">
<!ENTITY ouml "&#228;">
<!ENTITY auml "&#246;">

]>

<sorman>
<section>
<title><normal>&auml;llmant</normal></title>
<para>
<normal>This project specific document...</normal>
</para>
</section>
</sorman>


Example 3. - WORKS, BUT CAN'T DISPLAY THE ENTITY auml. -

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<?xml-stylesheet type="text/css" href="sample2.css" ?>

<sorman>
<section>
<title><normal>&auml;llmant</normal></title>
<para>
<normal>This project specific document...</normal>
</para>
</section>
</sorman>


Thanks!

/Peter

___________________________________________________

Peter Eriksson                  SÍRMAN INFORMATION AB
E-mail:[log in to unmask]            http://www.sorman.se
___________________________________________________

Back to: Top of Message | Previous Page | Main XML-L Page

Permalink



LISTSERV.HEANET.IE

CataList Email List Search Powered by the LISTSERV Email List Manager