OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: New version of the Table of contents document

[ Lists Home | Date Index | Thread Index ]
  • From: Amanda Xu <AXu@epnet.com>
  • To: "'martind@netfolder.com'" <martind@netfolder.com>
  • Date: Tue, 8 Feb 2000 08:53:00 -0500

As far as I am concerned, the technique alleviates 
server and file path maintenance headache, even 
though it is not the ultimate solution.

Please feel free to include it in your documentation. 

Cheers,

Amanda 

 


 
-----Original Message-----
From: Didier PH Martin [mailto:martind@netfolder.com]
Sent: Monday, February 07, 2000 6:36 PM
To: Amanda Xu
Cc: xml-dev@xml.org
Subject: RE: New version of the Table of contents document


Hi Amanda,

Gotcha. OK now I understand what you mean. You are right this is working
with IE 5.

So, to answer to Eric problem, we have only to include the entity in each
xlink:href value. When we do not have the link ref, we have to make all
entities to point to a blank page. As soon as we have the links, we replace
the entities' values by the real link. But in all cases we do not change the
xlink:href values.

Good point. I'll include your suggestion in the "Table of contents pattern"
document if you don't mind.

cheers
Didier PH Martin
----------------------------------------------
Email: martind@netfolder.com
Conferences: Web New York (http://www.mfweb.com)
Book to come soon: XML Pro published by Wrox Press
Products: http://www.netfolder.com

-----Original Message-----
From: owner-xml-dev@xml.org [mailto:owner-xml-dev@xml.org]On Behalf Of
Amanda Xu
Sent: Monday, February 07, 2000 12:47 PM
To: 'martind@netfolder.com'
Cc: 'xml-dev@xml.org'
Subject: RE: New version of the Table of contents document


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:

<?xml version="1.0"?>
<!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 ...

A.

-----Original Message-----
From: Didier PH Martin [mailto:martind@netfolder.com]
Sent: Monday, February 07, 2000 10:58 AM
To: Amanda Xu; 'Peter Murray-Rust'
Cc: xml-dev@ic.ac.uk
Subject: RE: New version of the Table of contents document


Hi Amanda,

Amanda said:
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!

Didier replies:
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?)

<?xml version="1.0"?>
<!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.

Cheers
Didier PH Martin
----------------------------------------------
Email: martind@netfolder.com
Conferences: Web New York (http://www.mfweb.com)
Book to come soon: XML Pro published by Wrox Press
Products: http://www.netfolder.com




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS