Lists Home |
Date Index |
- From: Amanda Xu <AXu@epnet.com>
- To: "'firstname.lastname@example.org'" <email@example.com>
- Date: Mon, 7 Feb 2000 12:46:38 -0500
I had fallen into the same trap as you did for quite a while
until Steve DeRose gave me the hint.
In order to avoid validation, your syntax should be:
<!DOCTYPE Document [
<!ENTITY XML-topic "http://www.w3.org/XML" >
You store &XM-topic; in your 'xlink:href' path. It is very easy
for the stylesheet to glue the whole XLINK syntax together.
Hope it helps!
For the best ...
From: Didier PH Martin [mailto:firstname.lastname@example.org]
Sent: Monday, February 07, 2000 10:58 AM
To: Amanda Xu; 'Peter Murray-Rust'
Subject: RE: New version of the Table of contents document
I am very new to this. Please forgive me if I made a mistake.
As far as I am concerned, all the identifiers (either a URL
pointer, dumb number like a DOI, or a meaningful number like
issn, or SICI should be surrounded by metadata in a registry
service. And it is the metadata that need namespaces.
I tried to declare entities in the XML document instead of DTD
on IE5 for client-side processing. It works. As we all know, the
IE5 for the client-side processing is a non-validating parser.
I have not tried it on the server-side yet.
By the way, the idea of doing so should be credited to Steven
DeRose. Hope this helps!
You have to define an entity inside a DTD declaration otherwise IE 5 gives
you an error. So, you created a DTD that includes an entitiy declaration
let's say something like: (is it like below, or different?)
<!DOCTYPE Document [
<!ENTITY % XML-topic SYSTEM 'http://www.w3.org/XML' >
Now to be more precise for the problem at hand. How do you replace the
xlink:href attribute's value by the entity and have the IE 5 XML browser to
replace the attribute's value by the entity value?
The construct is:
<topic xlink:type="simple" xlink:title="XML topic" xlink:href....>
The goal is to have the right construct so that IE 5 process xlink:href with
"http://www.w3.org/XML" as value instead of %XML-topic;
Or if your construct is different, can you explicitely show it.
Didier PH Martin
Conferences: Web New York (http://www.mfweb.com)
Book to come soon: XML Pro published by Wrox Press