Re: Thank you: Re: "Namespaces facility"

Francois-Paul Servant wrote:
> 
> Dear Mr Swick,
> 
> thank you very much for your very precise answer to my question.

there is a solution to avoid typing long strings many times:
I usually start my RDF file this way:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE rdf:RDF [
 <!ENTITY ais  'http://www710.univ-lyon1.fr/~champin/RDF/AIS/'>
 <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
 <!ENTITY rdfs 'http://www.w3.org/TR/WD-rdf-schema#'>
]>

<rdf:RDF xml:lang="en"
   xmlns="&ais;"
   xmlns:rdf="&rdf;"
   xmlns:rdfs="&rdfs;">

then when I need some URI I write (for example)
  &rdf;type
instead of 
  http://www.w3.org/1999/02/22-rdf-syntax-ns#type

 much more convenient, isn't it ?

  Pierre-Antoine


--- Quid quid Latine dictum sit, altum viditur
    Whatever is said in Latin sounds important.

Received on Tuesday, 18 July 2000 08:58:06 UTC